Skip to content

docs: add benchmark results to README - #32

Merged
geseq merged 1 commit into
mainfrom
docs/benchmark-results
Jun 29, 2026
Merged

geseq merged 1 commit into
mainfrom
docs/benchmark-results

Conversation

@geseq

@geseq geseq commented Jun 21, 2026

Copy link
Copy Markdown
Owner

Adds a Benchmarks section with results measured locally on a 12th Gen Intel Core i7-1260P (same CPU as the geseq/orderbook README), single matching thread pinned to one core:

  • matching-engine-benchmark, 5 scenarios, ~14-15 M msgs/s, consensus-hash correctness PASS
  • deep-book add/cancel throughput (-depth 50000): ~20 M ops/s, ~50 ns/op

Single-machine numbers; notes that hosted-CI figures are lower/not comparable.

@github-actions

github-actions Bot commented Jun 21, 2026 •

Copy link
Copy Markdown

Benchmark PR

Throughput on hosted runners is noisy and not performance-calibrated; treat the numbers as informational only.

Realistic deep-book throughput (W=50000)

Metric PR main change
ops/sec 26,308,513 27,016,330 -2.6%

Matching-engine-benchmark (perf mode)

Harness pinned at 77697a115e76a25a1e2aa886f555d55b87fcf052.

Scenario PR (M msgs/s) main (M msgs/s) change PR correctness
static 8.278 7.901 +4.8% PASS
normal 9.029 8.980 +0.6% PASS
swing-25 8.592 8.683 -1.0% PASS
swing-40 8.481 8.537 -0.7% PASS
flash-crash 8.436 8.443 -0.1% PASS

Single-machine i7-1260P, Release + LTO, best-of-N, threads pinned to
distinct physical P-cores.

Matching-engine-benchmark (perf mode, --matcher-core 2 --drainer-core 4,
cpp-fastchan report transport): static 18.3, normal 18.5, swing-25 17.6,
swing-40 17.6, flash-crash 17.0 M msgs/s — all byte-identical consensus PASS.
The harness is transport-bound; the cpp-fastchan transport lifts it ~22-32%
over the default boost spsc_queue.

Deep-book add/cancel (main -n throughput -depth 50000): ~41 M ops/s,
~24 ns/op (no transport in the loop).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0196EKKWudtsg3gButufhDxz
@geseq
geseq force-pushed the docs/benchmark-results branch from 9302998 to dc5dc32 Compare June 29, 2026 02:14
@geseq
geseq merged commit b47be24 into main Jun 29, 2026
5 checks passed
@geseq
geseq deleted the docs/benchmark-results branch June 29, 2026 02:33
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.

1 participant