Files
iris-context/commands/sys/wrk.go
T
VERSE ebde9ba68f refactor(commands): separate commands and its core into two folders (#32)
- I think it would be better if one for commands only, one for the spec
handling core logic so people won't be confused by the core logic inside
the commands folder (cleaner I guess)
- Regen docs
2026-07-05 11:27:30 +07:00

24 lines
719 B
Go

package sys
import (
"github.com/versenilvis/iris/spec"
)
func init() {
spec.Register(&spec.Spec{
Name: "wrk",
Description: "Wrk - a HTTP benchmarking tool",
Options: []spec.Option{
{Name: "-c", Description: "Connections to keep open"},
{Name: "-d", Description: "Duration of test"},
{Name: "-t", Description: "Number of threads"},
{Name: "-s", Description: "Load Lua script file"},
{Name: "-H", Description: "Add header to request"},
{Name: "--latency", Description: "Print latency statistics"},
{Name: "--timeout", Description: "Socket/request timeout"},
{Name: "-v", Description: "Print version details"},
{Name: "-h", Description: "Output usage information"},
},
})
}