sysbench/internal/hyperfine/schema.go
2026-04-02 20:08:25 +02:00

18 lines
451 B
Go

package hyperfine
type Result struct {
Results []Benchmark `json:"results"`
}
type Benchmark struct {
Command string `json:"command"`
Mean float64 `json:"mean"`
Stddev float64 `json:"stddev"`
Median float64 `json:"median"`
User float64 `json:"user"`
System float64 `json:"system"`
Min float64 `json:"min"`
Max float64 `json:"max"`
Times []float64 `json:"times"`
Exit []int `json:"exit_codes"`
}