You must ensure benchmark code, inputs, and configuration are identical in the baseline and comparison. Benchmark definitions are not verified.
Benchstat compares unprofiled benchmark repetitions. Profiles are collected in a separate run for each individual benchmark and CPU configuration. CPU values are total sampled CPU time (including startup and calibration; capture durations can differ); allocation values are sampled bytes allocated over the process lifetime, scaled in powers of 1024. Profile changes are not statistical tests. Serve this directory over HTTP to view flamegraphs, or open the self-contained local report.
name old time/op new time/op delta QuickSort/duplicates 88.1µs ± 1% 4.9µs ± 1% -94.48% (p=0.000 n=10+10) name old items/op new items/op delta QuickSort/duplicates 2.05k ± 0% 2.05k ± 0% ~ (all equal) name old alloc/op new alloc/op delta QuickSort/duplicates 16.4kB ± 0% 16.4kB ± 0% ~ (all equal) name old allocs/op new allocs/op delta QuickSort/duplicates 1.00 ± 0% 1.00 ± 0% ~ (all equal)
name old time/op new time/op delta QuickSort/random 18.6µs ± 3% 19.8µs ±11% +6.55% (p=0.001 n=8+9) name old items/op new items/op delta QuickSort/random 2.05k ± 0% 2.05k ± 0% ~ (all equal) name old alloc/op new alloc/op delta QuickSort/random 16.4kB ± 0% 16.4kB ± 0% ~ (all equal) name old allocs/op new allocs/op delta QuickSort/random 1.00 ± 0% 1.00 ± 0% ~ (all equal)
name old time/op new time/op delta QuickSort/reverse 568µs ± 1% 10µs ± 1% -98.24% (p=0.000 n=10+10) name old items/op new items/op delta QuickSort/reverse 2.05k ± 0% 2.05k ± 0% ~ (all equal) name old alloc/op new alloc/op delta QuickSort/reverse 16.4kB ± 0% 16.4kB ± 0% ~ (all equal) name old allocs/op new allocs/op delta QuickSort/reverse 1.00 ± 0% 1.00 ± 0% ~ (all equal)
name old time/op new time/op delta QuickSort/sorted 667µs ± 1% 10µs ± 1% -98.48% (p=0.000 n=10+10) name old items/op new items/op delta QuickSort/sorted 2.05k ± 0% 2.05k ± 0% ~ (all equal) name old alloc/op new alloc/op delta QuickSort/sorted 16.4kB ± 0% 16.4kB ± 0% ~ (all equal) name old allocs/op new allocs/op delta QuickSort/sorted 1.00 ± 0% 1.00 ± 0% ~ (all equal)