Skip to main content




  • BenchMetric: Defines a benchmark throughput metric.
  • ThroughputMeasure: Records a throughput metric of metric BenchMetric and value.
  • BenchConfig: Defines a benchmark configuration struct to control execution times and frequency.
  • BenchId: Defines a benchmark Id struct to identify and represent a particular benchmark execution.
  • BenchmarkInfo: Defines a Benchmark Info struct to record execution Statistics.
  • Mode: Defines a Benchmark Mode to distinguish between test runs and actual benchmarks.
  • Bench: Defines the main Benchmark struct which executes a Benchmark and print result.
  • Bencher: Defines a Bencher struct which facilitates the timing of a target function.