Versions in this module Expand all Collapse all v0 v0.2.0 Jun 29, 2025 Changes in this version + type Benchmark interface + Done func() error + Event func(context.Context) (numReads, numWrites, numOthers, numIgnoredErros uint64, err error) + Init func(context.Context) error + PreEvent func(context.Context) error + Prepare func(context.Context) error + type Histogram struct + func NewHistogram(size int, rangeMin, rangeMax float64) *Histogram + func (h *Histogram) Add(value float64) + func (h *Histogram) GetPercentileAndReset(p int) float64 + func (h *Histogram) Percentile(p int) float64 + func (h *Histogram) Print() + type Runner struct + func NewRunner(option *RunnerOpts, bench Benchmark) *Runner + func (r *Runner) Prepare() error + func (r *Runner) Run() error + type RunnerOpts struct + Events uint64 + Histogram string + Percentile int + ReportInterval int + Threads int + Time int v0.1.0 Feb 18, 2025