Skip to main content

Module bench

Module bench 

Source
Expand description

Benchmark result types and utilities.

Provides structured benchmark output (JSON), percentile calculation, and comparison helpers for performance regression testing.

Structs§

BenchmarkConfig
BenchmarkMetrics
BenchmarkResult
Structured benchmark result for JSON output.
MemoryMetrics
PercentileSummary
StatSummary

Functions§

percentile
Calculate percentile from sorted data. Uses linear interpolation.
percentile_summary
Build a PercentileSummary from raw latency samples.