Skip to main content

Mojo module

bencher

Structs

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