Performance at a glance
Every figure on this page is read from a benchmark artifact in this repository by scripts/generate-performance-page.py; a measurement with no artifact reads “not measured”. Each table compares only runs of one workload and configuration. Raw runs and provenance are under Provenance.
Codec cost
ergon against sbe-tool on equal work. The ratio is ergon / sbe-tool (the range over invocations when the run repeated); the verdict is the gate’s (scripts/check-bench-gate.sh). INCONCLUSIVE passes the gate but is not parity: no winner is established. Method and ceilings: Benchmarks.
| workload | lane | mean cost | ratio to sbe-tool | uncertainty | verdict |
|---|---|---|---|---|---|
| decode_scalar | lto | 510.019 ns per iteration | 0.9047 to 0.9197 (ceiling 1.00) | ratio CI 0.8997 to 0.9253 over 5 invocation(s) | PASS: resolved |
| decode_array | lto | 510.703 ns per iteration | 0.5824 to 0.5981 (ceiling 1.00) | ratio CI 0.5768 to 0.6042 over 5 invocation(s) | PASS: resolved |
| decode_composite | lto | 247.912 ns per iteration | 0.6099 to 0.6131 (ceiling 1.00) | ratio CI 0.6086 to 0.6135 over 5 invocation(s) | PASS: resolved |
| decode_full_message | lto | 10530.398 ns per iteration | 0.7540 to 0.7678 (ceiling 1.00) | ratio CI 0.7423 to 0.7779 over 5 invocation(s) | PASS: resolved |
| decode_full_message_ordered | lto | 10582.469 ns per iteration | 0.7606 to 0.7776 (ceiling 1.00) | ratio CI 0.7522 to 0.7829 over 5 invocation(s) | PASS: resolved |
| decode_entry_point | lto | 730.412 ns per iteration | 0.7060 to 0.7108 (ceiling 1.00) | ratio CI 0.7040 to 0.7142 over 5 invocation(s) | PASS: resolved |
| encode_scalar_header_and_body | lto | 1473.600 ns per iteration | 0.7010 to 0.7120 (ceiling 1.00) | ratio CI 0.6979 to 0.7142 over 5 invocation(s) | PASS: resolved |
| encode_scalar_body_only | lto | 294.672 ns per iteration | 0.7193 to 0.7731 (ceiling 1.00) | ratio CI 0.7109 to 0.7867 over 5 invocation(s) | PASS: resolved |
| encode_throughput_10k | lto | 6517.329 ns per iteration | 0.8758 to 0.8856 (ceiling 1.00) | ratio CI 0.8686 to 0.8926 over 5 invocation(s) | PASS: resolved |
| throughput_batch_10k | lto | 8677.831 ns per iteration | 0.9103 to 0.9136 (ceiling 1.00) | ratio CI 0.9066 to 0.9171 over 5 invocation(s) | PASS: resolved |
| wire_parity_encode_full | lto | 3790.343 ns per iteration | 0.6236 to 0.6333 (ceiling 1.00) | ratio CI 0.6193 to 0.6392 over 5 invocation(s) | PASS: resolved |
| extended_optional_enum_nullify | lto | 801.339 ns per iteration | 0.8996 to 0.9170 (ceiling 1.00) | ratio CI 0.8884 to 0.9298 over 5 invocation(s) | PASS: resolved |
| extended_group_with_data | lto | 4645.010 ns per iteration | 0.8333 to 0.8681 (ceiling 1.00) | ratio CI 0.8242 to 0.8831 over 5 invocation(s) | PASS: resolved |
| decode_scalar | no-lto | 512.644 ns per iteration | 0.8771 to 0.9117 (ceiling 1.00) | ratio CI 0.8731 to 0.9282 over 5 invocation(s) | PASS: resolved |
| decode_array | no-lto | 504.473 ns per iteration | 0.5827 to 0.5897 (ceiling 1.00) | ratio CI 0.5809 to 0.5915 over 5 invocation(s) | PASS: resolved |
| decode_composite | no-lto | 248.453 ns per iteration | 0.6106 to 0.6145 (ceiling 1.00) | ratio CI 0.6097 to 0.6150 over 5 invocation(s) | PASS: resolved |
| decode_full_message | no-lto | 10533.660 ns per iteration | 0.7582 to 0.7744 (ceiling 1.00) | ratio CI 0.7572 to 0.7751 over 5 invocation(s) | PASS: resolved |
| decode_full_message_ordered | no-lto | 10493.759 ns per iteration | 0.7563 to 0.7758 (ceiling 1.00) | ratio CI 0.7556 to 0.7806 over 5 invocation(s) | PASS: resolved |
| decode_entry_point | no-lto | 790.586 ns per iteration | 0.7567 to 0.7740 (ceiling 1.00) | ratio CI 0.7557 to 0.7798 over 5 invocation(s) | PASS: resolved |
| encode_scalar_header_and_body | no-lto | 1439.292 ns per iteration | 0.6740 to 0.6952 (ceiling 1.00) | ratio CI 0.6683 to 0.6959 over 5 invocation(s) | PASS: resolved |
| encode_scalar_body_only | no-lto | 290.939 ns per iteration | 0.7229 to 0.7521 (ceiling 1.00) | ratio CI 0.7135 to 0.7616 over 5 invocation(s) | PASS: resolved |
| encode_throughput_10k | no-lto | 6485.409 ns per iteration | 0.8748 to 0.8814 (ceiling 1.00) | ratio CI 0.8725 to 0.8889 over 5 invocation(s) | PASS: resolved |
| throughput_batch_10k | no-lto | 8507.867 ns per iteration | 0.9018 to 0.9210 (ceiling 1.00) | ratio CI 0.8988 to 0.9253 over 5 invocation(s) | PASS: resolved |
| wire_parity_encode_full | no-lto | 4502.449 ns per iteration | 0.7453 to 0.7509 (ceiling 1.00) | ratio CI 0.7437 to 0.7526 over 5 invocation(s) | PASS: resolved |
| extended_optional_enum_nullify | no-lto | 776.695 ns per iteration | 0.8860 to 0.8883 (ceiling 1.00) | ratio CI 0.8813 to 0.8964 over 5 invocation(s) | PASS: resolved |
| extended_group_with_data | no-lto | 4785.088 ns per iteration | 0.8060 to 0.8591 (ceiling 1.00) | ratio CI 0.7902 to 0.8752 over 5 invocation(s) | PASS: resolved |
| cluster_encode_session_message_header | lto | 2.790 ns per op | 0.9836 to 1.0514 (ceiling 1.00) | ratio CI 0.9720 to 1.0631 over 5 invocation(s) | INCONCLUSIVE: no winner: inside the measured A/A band |
| cluster_encode_session_keep_alive | lto | 1.895 ns per op | 0.9433 to 1.0586 (ceiling 1.00) | ratio CI 0.9347 to 1.0687 over 5 invocation(s) | INCONCLUSIVE: no winner: inside the measured A/A band |
| cluster_decode_session_message_header | lto | 1.276 ns per op | 0.9520 to 1.0465 (ceiling 1.01) | ratio CI 0.9429 to 1.0904 over 5 invocation(s) | INCONCLUSIVE: no winner: inside the measured A/A band |
| cluster_decode_session_event | lto | 2.625 ns per op | 0.8068 to 0.8491 (ceiling 1.01) | ratio CI 0.7995 to 0.8725 over 5 invocation(s) | PASS: resolved |
| cluster_encode_claim_shaped_header_plus_app | lto | 4.425 ns per op | 0.9555 to 1.0521 (ceiling 1.00) | ratio CI 0.9462 to 1.0636 over 5 invocation(s) | INCONCLUSIVE: no winner: inside the measured A/A band |
| cluster_encode_session_message_header | no-lto | 2.650 ns per op | 0.9506 to 1.0037 (ceiling 1.00) | ratio CI 0.9413 to 1.0129 over 5 invocation(s) | INCONCLUSIVE: no winner: inside the measured A/A band |
| cluster_encode_session_keep_alive | no-lto | 1.924 ns per op | 0.9906 to 1.0732 (ceiling 1.00) | ratio CI 0.9801 to 1.0835 over 5 invocation(s) | INCONCLUSIVE: no winner: inside the measured A/A band |
| cluster_decode_session_message_header | no-lto | 1.213 ns per op | 0.9325 to 1.0031 (ceiling 1.01) | ratio CI 0.9257 to 1.0079 over 5 invocation(s) | PASS: resolved |
| cluster_decode_session_event | no-lto | 2.761 ns per op | 0.8941 to 0.9555 (ceiling 1.05) | ratio CI 0.8882 to 0.9732 over 5 invocation(s) | PASS: resolved |
| cluster_encode_claim_shaped_header_plus_app | no-lto | 4.447 ns per op | 0.9512 to 1.0393 (ceiling 1.00) | ratio CI 0.9422 to 1.0474 over 5 invocation(s) | INCONCLUSIVE: no winner: inside the measured A/A band |
Codec cost distribution
Per arm, runs of one profile pooled over every invocation. n is the number of Criterion samples; min, p50, p99, p99.99 and max are percentiles of the per-sample cost (ns per iteration for sbe codecs, ns per operation for cluster codecs). A sample is the mean of a batch of iterations, so these are not per-message tails: the max is the slowest sample’s mean, and with n below 10,000 p99.99 is that max. Each max is unexplained: the host was shared with other jobs while these ran, so a spike may be preemption or cache pollution; the next experiment is a rerun on an isolated CPU.
| workload | lane | arm | n | min | p50 | p99 | p99.99 | max |
|---|---|---|---|---|---|---|---|---|
| decode_scalar | lto | ergo-sbe | 1,000 | 488.618 | 507.866 | 534.909 | 538.927 | 538.927 |
| decode_scalar | lto | sbe-tool | 1,000 | 540.439 | 552.411 | 608.333 | 613.032 | 613.032 |
| decode_array | lto | ergo-sbe | 1,000 | 489.799 | 505.217 | 544.869 | 784.579 | 784.579 |
| decode_array | lto | sbe-tool | 1,000 | 851.780 | 857.966 | 897.032 | 1269.003 | 1269.003 |
| decode_composite | lto | ergo-sbe_engine | 1,000 | 240.874 | 247.704 | 250.066 | 254.325 | 254.325 |
| decode_composite | lto | sbe-tool_engine | 1,000 | 402.324 | 404.675 | 411.810 | 547.861 | 547.861 |
| decode_full_message | lto | ergo-sbe_consuming | 1,000 | 10390.104 | 10481.075 | 10959.912 | 18856.092 | 18856.092 |
| decode_full_message | lto | sbe-tool | 1,000 | 13434.978 | 13760.527 | 14164.591 | 33050.368 | 33050.368 |
| decode_full_message_ordered | lto | ergo-sbe_ordered | 1,000 | 10432.662 | 10557.139 | 10856.540 | 16418.249 | 16418.249 |
| decode_full_message_ordered | lto | sbe-tool | 1,000 | 13434.978 | 13760.527 | 14164.591 | 33050.368 | 33050.368 |
| decode_entry_point | lto | ergo-sbe_wrap | 1,000 | 648.069 | 730.248 | 810.972 | 833.716 | 833.716 |
| decode_entry_point | lto | sbe-tool_wrap | 1,000 | 966.416 | 1030.943 | 1058.098 | 1089.774 | 1089.774 |
| encode_scalar_header_and_body | lto | ergo-sbe_header_and_body | 1,000 | 1443.603 | 1468.682 | 1527.474 | 1577.814 | 1577.814 |
| encode_scalar_header_and_body | lto | sbe-tool_header_and_body | 1,000 | 1969.836 | 2087.191 | 2148.874 | 2792.153 | 2792.153 |
| encode_scalar_body_only | lto | ergo-sbe_body_only | 1,000 | 265.606 | 281.897 | 368.440 | 562.761 | 562.761 |
| encode_scalar_body_only | lto | sbe-tool_body_only | 1,000 | 381.545 | 395.612 | 413.117 | 558.007 | 558.007 |
| encode_throughput_10k | lto | ergo-sbe | 1,000 | 6012.468 | 6523.718 | 6722.756 | 9759.831 | 9759.831 |
| encode_throughput_10k | lto | sbe-tool | 1,000 | 6823.101 | 7386.710 | 7541.176 | 11146.568 | 11146.568 |
| throughput_batch_10k | lto | ergo-sbe | 1,000 | 8539.497 | 8655.528 | 8947.049 | 8987.271 | 8987.271 |
| throughput_batch_10k | lto | sbe-tool | 1,000 | 9279.670 | 9467.925 | 10129.890 | 10287.564 | 10287.564 |
| wire_parity_encode_full | lto | ergo-sbe | 1,000 | 3513.659 | 3789.027 | 3904.582 | 6556.543 | 6556.543 |
| wire_parity_encode_full | lto | sbe-tool | 1,000 | 5713.142 | 6023.795 | 6179.720 | 8771.586 | 8771.586 |
| extended_optional_enum_nullify | lto | ergo-sbe | 1,000 | 721.001 | 773.494 | 1011.664 | 1032.028 | 1032.028 |
| extended_optional_enum_nullify | lto | sbe-tool | 1,000 | 847.898 | 877.620 | 921.430 | 934.060 | 934.060 |
| extended_group_with_data | lto | ergo-sbe | 1,000 | 4553.267 | 4579.603 | 5420.418 | 6194.184 | 6194.184 |
| extended_group_with_data | lto | sbe-tool | 1,000 | 5256.391 | 5342.333 | 6198.818 | 6833.967 | 6833.967 |
| decode_scalar | no-lto | ergo-sbe | 1,000 | 487.316 | 506.533 | 554.646 | 1145.309 | 1145.309 |
| decode_scalar | no-lto | sbe-tool | 1,000 | 544.768 | 576.351 | 616.021 | 627.491 | 627.491 |
| decode_array | no-lto | ergo-sbe | 1,000 | 487.075 | 502.552 | 525.231 | 533.184 | 533.184 |
| decode_array | no-lto | sbe-tool | 1,000 | 850.498 | 858.886 | 867.929 | 875.373 | 875.373 |
| decode_composite | no-lto | ergo-sbe_engine | 1,000 | 242.921 | 248.136 | 251.496 | 254.230 | 254.230 |
| decode_composite | no-lto | sbe-tool_engine | 1,000 | 403.015 | 405.259 | 415.447 | 420.502 | 420.502 |
| decode_full_message | no-lto | ergo-sbe_consuming | 1,000 | 10359.481 | 10495.273 | 10721.113 | 10762.958 | 10762.958 |
| decode_full_message | no-lto | sbe-tool | 1,000 | 13456.731 | 13780.681 | 13918.269 | 14239.929 | 14239.929 |
| decode_full_message_ordered | no-lto | ergo-sbe_ordered | 1,000 | 10326.737 | 10455.372 | 10785.665 | 15474.576 | 15474.576 |
| decode_full_message_ordered | no-lto | sbe-tool | 1,000 | 13456.731 | 13780.681 | 13918.269 | 14239.929 | 14239.929 |
| decode_entry_point | no-lto | ergo-sbe_wrap | 1,000 | 708.229 | 781.702 | 844.400 | 874.207 | 874.207 |
| decode_entry_point | no-lto | sbe-tool_wrap | 1,000 | 984.786 | 1030.986 | 1078.017 | 1082.781 | 1082.781 |
| encode_scalar_header_and_body | no-lto | ergo-sbe_header_and_body | 1,000 | 1268.738 | 1444.968 | 1458.165 | 1500.554 | 1500.554 |
| encode_scalar_header_and_body | no-lto | sbe-tool_header_and_body | 1,000 | 1994.306 | 2086.704 | 2131.081 | 2157.771 | 2157.771 |
| encode_scalar_body_only | no-lto | ergo-sbe_body_only | 1,000 | 257.467 | 270.477 | 321.097 | 327.169 | 327.169 |
| encode_scalar_body_only | no-lto | sbe-tool_body_only | 1,000 | 380.250 | 395.387 | 414.688 | 616.779 | 616.779 |
| encode_throughput_10k | no-lto | ergo-sbe | 1,000 | 6120.034 | 6460.492 | 6744.093 | 10582.578 | 10582.578 |
| encode_throughput_10k | no-lto | sbe-tool | 1,000 | 6915.316 | 7392.823 | 7465.832 | 7504.794 | 7504.794 |
| throughput_batch_10k | no-lto | ergo-sbe | 1,000 | 8365.851 | 8474.520 | 8753.801 | 12040.682 | 12040.682 |
| throughput_batch_10k | no-lto | sbe-tool | 1,000 | 9111.730 | 9339.684 | 9789.498 | 9832.558 | 9832.558 |
| wire_parity_encode_full | no-lto | ergo-sbe | 1,000 | 4209.535 | 4508.303 | 4560.368 | 4620.495 | 4620.495 |
| wire_parity_encode_full | no-lto | sbe-tool | 1,000 | 5626.401 | 6018.484 | 6179.918 | 6206.928 | 6206.928 |
| extended_optional_enum_nullify | no-lto | ergo-sbe | 1,000 | 707.878 | 772.894 | 880.233 | 1206.305 | 1206.305 |
| extended_optional_enum_nullify | no-lto | sbe-tool | 1,000 | 841.266 | 876.160 | 913.192 | 928.637 | 928.637 |
| extended_group_with_data | no-lto | ergo-sbe | 1,000 | 4550.430 | 4584.218 | 6086.880 | 7541.827 | 7541.827 |
| extended_group_with_data | no-lto | sbe-tool | 1,000 | 5520.213 | 5590.498 | 6448.609 | 7124.434 | 7124.434 |
| cluster_encode_session_message_header | lto | ergo-sbe | 2,000 | 2.561 | 2.756 | 3.251 | 3.509 | 3.509 |
| cluster_encode_session_message_header | lto | sbe-tool | 2,000 | 2.556 | 2.754 | 3.237 | 3.431 | 3.431 |
| cluster_encode_session_keep_alive | lto | ergo-sbe | 2,000 | 1.788 | 1.858 | 2.277 | 2.460 | 2.460 |
| cluster_encode_session_keep_alive | lto | sbe-tool | 2,000 | 1.784 | 1.899 | 2.235 | 2.579 | 2.579 |
| cluster_decode_session_message_header | lto | ergo-sbe | 2,000 | 1.183 | 1.234 | 2.402 | 3.287 | 3.287 |
| cluster_decode_session_message_header | lto | sbe-tool | 2,000 | 1.182 | 1.204 | 2.357 | 2.889 | 2.889 |
| cluster_decode_session_event | lto | ergo-sbe | 2,000 | 2.509 | 2.544 | 4.286 | 4.516 | 4.516 |
| cluster_decode_session_event | lto | sbe-tool | 2,000 | 2.954 | 3.140 | 3.969 | 4.193 | 4.193 |
| cluster_encode_claim_shaped_header_plus_app | lto | ergo-sbe | 2,000 | 4.041 | 4.372 | 5.123 | 5.869 | 5.869 |
| cluster_encode_claim_shaped_header_plus_app | lto | sbe-tool | 2,000 | 4.075 | 4.397 | 5.139 | 5.518 | 5.518 |
| cluster_encode_session_message_header | no-lto | ergo-sbe | 2,000 | 2.533 | 2.617 | 2.960 | 3.193 | 3.193 |
| cluster_encode_session_message_header | no-lto | sbe-tool | 2,000 | 2.534 | 2.662 | 3.167 | 4.406 | 4.406 |
| cluster_encode_session_keep_alive | no-lto | ergo-sbe | 2,000 | 1.792 | 1.896 | 2.274 | 2.572 | 2.572 |
| cluster_encode_session_keep_alive | no-lto | sbe-tool | 2,000 | 1.791 | 1.847 | 2.142 | 2.378 | 2.378 |
| cluster_decode_session_message_header | no-lto | ergo-sbe | 2,000 | 1.185 | 1.201 | 1.331 | 1.439 | 1.439 |
| cluster_decode_session_message_header | no-lto | sbe-tool | 2,000 | 1.182 | 1.221 | 1.405 | 1.674 | 1.674 |
| cluster_decode_session_event | no-lto | ergo-sbe | 2,000 | 2.658 | 2.697 | 3.188 | 4.377 | 4.377 |
| cluster_decode_session_event | no-lto | sbe-tool | 2,000 | 2.953 | 2.957 | 3.823 | 5.847 | 5.847 |
| cluster_encode_claim_shaped_header_plus_app | no-lto | ergo-sbe | 2,000 | 4.026 | 4.410 | 5.192 | 5.512 | 5.512 |
| cluster_encode_claim_shaped_header_plus_app | no-lto | sbe-tool | 2,000 | 4.068 | 4.431 | 5.221 | 5.998 | 5.998 |
Individual-message latency
One codec operation per sample, as the latency_distribution bench (just bench-diagnostics) times it. No run of it is kept here.
| workload | load | n | min | p50 | p99 | p99.99 | max | max cause | throughput | drops |
|---|---|---|---|---|---|---|---|---|---|---|
| codec, one operation per sample | not measured | not measured | not measured | not measured | not measured | not measured | not measured | not measured | not measured | not measured |
Failover
| scenario | failure detection | unavailable interval | time to valid book |
|---|---|---|---|
| cluster leader failover | not measured | not measured | not measured |
The failover tests (cluster-test-harness/tests/failover.rs and failover_own_driver.rs) check that the client reconnects to the new leader within a deadline, not how long it takes.
Host scheduling gaps
A busy-spin loop on an isolated CPU, with helper load on the pod’s shared CPU: every loop iteration in ns, reps of one arm pooled. n is loop iterations; p50, p99 and p99.99 are histogram bucket upper bounds; min is the lowest bucket’s bound; max is exact. Gap-log drops are gaps the probe could not log, not lost messages. Setup and fixes: Shared CPUs.
| arm | reps | n | min | p50 | p99 | p99.99 | max | gap-log drops | max cause |
|---|---|---|---|---|---|---|---|---|---|
| plugin-on | 3 | 7,463,469,071 | ≤ 8 | 24 | 32 | 32 | 5,520 | 0 | host stall below the guest kernel (hypervisor or hardware) (rep 3: 0 involuntary switches (rep total); interrupts overlapping: nothing counted) |
Under ftrace (trace): the tracer adds its own cost, so these are not comparable with the table above.
| arm | reps | n | min | p50 | p99 | p99.99 | max | gap-log drops | max cause |
|---|---|---|---|---|---|---|---|---|---|
| trace | 1 | 2,488,258,738 | ≤ 8 | 24 | 32 | 32 | 40,608 | 0 | preemption: a kworker LRU drain after systemd’s daily generators (node event) (rep 1: 1 involuntary switch (rep total); interrupts overlapping: IPI0 Rescheduling interrupts +1, IPI1 Function call interrupts +1) |
Provenance
- Codec cost, sbe lto: estimates and gate output (run_id b20261106T083837Z-61963-af10a56ac3fb, commit af10a56ac3fb36e99c332e6e53aa3d38a5131393, rustc 1.99.0 (b940084d7 2026-09-28), target aarch64-apple-darwin, host Apple M4).
- Codec cost, sbe no-lto: estimates and gate output (run_id b20261106T083837Z-61963-af10a56ac3fb, commit af10a56ac3fb36e99c332e6e53aa3d38a5131393, rustc 1.99.0 (b940084d7 2026-09-28), target aarch64-apple-darwin, host Apple M4).
- Codec cost, cluster lto: estimates and gate output (run_id cluster-20261106T151023Z-c8d9b86, commit c8d9b8646a52a01ac1fee48265d09f6ea7d4a18f, rustc 1.99.0 (b940084d7 2026-09-28), target x86_64-unknown-linux-gnu, host Intel(R) Core(TM) i5-8500T CPU @ 2.10GHz; load at start: 23:10:23 up 3:02, 7 users, load average: 0.43, 1.37, 2.33; load at end: 23:26:40 up 3:19, 8 users, load average: 2.01, 2.74, 2.73).
- Codec cost, cluster no-lto: estimates and gate output (run_id cluster-20261106T151023Z-c8d9b86, commit c8d9b8646a52a01ac1fee48265d09f6ea7d4a18f, rustc 1.99.0 (b940084d7 2026-09-28), target x86_64-unknown-linux-gnu, host Intel(R) Core(TM) i5-8500T CPU @ 2.10GHz; load at start: 23:26:40 up 3:19, 8 users, load average: 2.01, 2.74, 2.73; load at end: 23:42:22 up 3:34, 8 users, load average: 2.74, 2.61, 2.62).
- Host scheduling gaps: run azure-20261024234841, Standard_D8ps_v6 (8 vCPUs, aarch64), Debian GNU/Linux 13 (trixie), kernel 6.12.113+deb13-cloud-arm64.
- Max causes: max-causes.tsv.