Skip to content

HDR-histogram tail-latency bench suite + BENCH.md#77

Merged
joaquinbejar merged 1 commit intomainfrom
issue-56-hdr-bench
Apr 25, 2026
Merged

HDR-histogram tail-latency bench suite + BENCH.md#77
joaquinbejar merged 1 commit intomainfrom
issue-56-hdr-bench

Conversation

@joaquinbejar
Copy link
Copy Markdown
Owner

Summary

Six new *_hdr bench binaries under benches/order_book/ recording
per-sample latency into hdrhistogram::Histogram and emitting p50 /
p99 / p99.9 / p99.99 + min / max. Coexists with the existing
Criterion benches. make bench-hdr runs all six. BENCH.md at the
repo root carries methodology, run conditions, and an honest headline
table from a single M4 Max run with closed-loop service-time
disclosure.

Closes

Closes #56.

Six new harness=false bench binaries under benches/order_book/*_hdr.rs:
add_only, cancel_only, aggressive_walk, mixed_70_20_10,
thin_book_sweep, mass_cancel_burst. Each records per-sample latency
into hdrhistogram::Histogram and emits p50 / p99 / p99.9 / p99.99 +
min / max + sample count to stdout. Coexists with the existing
Criterion benches.

Adds hdrhistogram ^7 as a dev-dependency, a make bench-hdr target
that runs all six in series, and BENCH.md at repo root with
methodology (warmup, closed-loop disclosure, run conditions, sample
counts) plus actual headline numbers from a single Apple M4 Max run.

Closes #56.
@joaquinbejar joaquinbejar merged commit 18eb9fb into main Apr 25, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HDR-histogram tail-latency bench suite + BENCH.md

1 participant