Versions in this module Expand all Collapse all v0 v0.1.0 Aug 11, 2026 Changes in this version + func Grid(b *testing.B, s Script, axes Axes, opts ...Option) + func Run(b *testing.B, s Script, opts ...Option) + type Axes []Axis + type Axis struct + Env string + Values []string + type Mode int + const Fail + const Ignore + const Report + type Option func(*config) + func AsDeclared() Option + func Bytes(metric string) Option + func CheckMode(m Mode) Option + func HigherIsBetter(metrics ...string) Option + func K6(path string) Option + func K6Args(args ...string) Option + func LowerIsBetter(metrics ...string) Option + func Metrics(names ...string) Option + func OmitTime() Option + func Output(spec string) Option + func OutputEnv(key, value string) Option + func Percentiles(p ...float64) Option + func Setup(f func() error) Option + func SetupEnv(f func() (map[string]string, error)) Option + func TagMetrics(metric, tagKey string, values ...string) Option + func Teardown(f func() error) Option + func ThresholdMode(m Mode) Option + func VUs(n int) Option + func Warmup(n int) Option + type Script struct + Env map[string]string + Path string + Source []byte