feat(website): add /benchmarks page with netem WAN harness numbers - #53
Merged
Conversation
Publishes the latest snapshot from the netem-driven WAN harness under tests-e2e/. New page at /benchmarks with three sections: - Methodology — how each profile is shaped (tc netem inside Docker containers) and what we measure (time-to-first-sync, p50/p95 steady-state propagation, partition recovery). - Profile matrix — 12 profiles from `ideal` to `satellite`, populated with the most recent run's numbers (AMD Ryzen, Linux 6.19). Footnotes flag two known signals: satellite partition recovery exceeding the test cap on this run, and lossy_lan's 15x p50→p95 ratio (filed as #38). - Extended scenarios — long-offline, container-restart, asymmetric. Includes the cellular_bad write-loss finding (#39). Numbers are hardcoded as `&[ProfileRow]` / `&[ScenarioRow]` consts so they're type-checked and trivially diffable. Re-run the matrix locally and update these arrays to refresh published numbers. Wired into the top nav alongside Docs / Examples / Demo. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
pvg13
added a commit
that referenced
this pull request
May 12, 2026
Publishes the latest snapshot from the netem-driven WAN harness under tests-e2e/. New page at /benchmarks with three sections: - Methodology — how each profile is shaped (tc netem inside Docker containers) and what we measure (time-to-first-sync, p50/p95 steady-state propagation, partition recovery). - Profile matrix — 12 profiles from `ideal` to `satellite`, populated with the most recent run's numbers (AMD Ryzen, Linux 6.19). Footnotes flag two known signals: satellite partition recovery exceeding the test cap on this run, and lossy_lan's 15x p50→p95 ratio (filed as #38). - Extended scenarios — long-offline, container-restart, asymmetric. Includes the cellular_bad write-loss finding (#39). Numbers are hardcoded as `&[ProfileRow]` / `&[ScenarioRow]` consts so they're type-checked and trivially diffable. Re-run the matrix locally and update these arrays to refresh published numbers. Wired into the top nav alongside Docs / Examples / Demo.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Publishes the latest snapshot from the netem-driven WAN harness on the website at `/benchmarks`. New page wired into the top nav alongside Docs / Examples / Demo.
What's on the page
Methodology — how each profile is shaped (`tc netem` inside Docker containers) and what we measure: time-to-first-sync, p50/p95 steady-state propagation over 50 writes, recovery time after a 5s blackhole.
Profile matrix — 12 profiles from `ideal` to `satellite`, populated with the most recent run's numbers. Source profiles span LAN, WiFi (home / busy / distant), mobile (5G / 4G fair / 4G bad / 3G), satellite, and a lossy LAN baseline.
```
Footnotes:
Extended scenarios — long-offline, container-restart, asymmetric peer pairs. The `long_offline_30s` on cellular_bad row reflects #39 (1 of 10 writes fails to converge under heavy loss + long offline).
DCUtR section — explains the engine's hole-punching support, links to #51 for why the local Docker bench doesn't yet exercise DCUtR end-to-end.
Run-it-yourself — exact command for reproducing the numbers locally.
Implementation
Numbers are hardcoded as `&[ProfileRow]` / `&[ScenarioRow]` const arrays in `website/src/pages/benchmarks.rs` so they're type-checked and trivially diffable. To refresh: re-run the matrix locally, update the arrays, push.
Test plan
Related