Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,12 @@ jobs:
artifact-path: target/bench/nightly/rust-shared
benchmark: true
paired: true
- name: Relay session benchmarks
recipe: gh nightly rust-relay
artifact: bench-rust-relay
artifact-path: target/bench/nightly/rust-relay
benchmark: true
paired: true
- name: Rust supplemental benchmarks
recipe: gh nightly rust-extra
artifact: bench-rust-extra
Expand Down
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions bench/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,23 @@ nix develop --command cargo bench --locked -p moq-net --features fuzz --bench se
nix develop --command env SESSION_CPU=1 cargo bench --locked -p moq-net --features fuzz --bench session -- session_delivery_group_cost_cpu
```

Run the same session scenarios through relay admission, auth, cluster routing,
and stats over the in-memory transport:

```bash
nix develop --command cargo bench --locked -p moq-relay --features test-support --bench session -- relay_session_dash_
nix develop --command cargo bench --locked -p moq-relay --features test-support --bench session -- relay_session_delivery_group_cost
```

The relay and model targets share shapes and complete-payload assertions. The
`relay_` prefix distinguishes results; the model-only idle case needs its server
session handle and is not registered by the relay target. Relay fixtures enable
stats and admit all benchmark paths using embedded auth. The dash viewer gets a
peer grant to discover hidden stats routes on protocols without hidden opt-in. The announcement limit
uses the existing peer limit so the large broadcast sweeps exercise routing
rather than ordinary-client admission caps. These settings are benchmark-only.
The relay target has its own Nightly leg.

The CPU mode requires Unix and measures the benchmark's current thread, including
its protocol drivers and the flow-control fixture but excluding scheduler
preemption. Both modes exclude setup and cache-clock advancement. Constrained
Expand Down
1 change: 0 additions & 1 deletion quest/m2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ lite-07; bitrate enforcement is not part of this release.
- [Perf](/quest/m2/perf/README.md) - eliminate measured hot-path costs across moq-uring, kio, and the moq-net model
- [Wire stats](/quest/m2/wire-stats/README.md) - `Presence` counts each root's transport bytes on the wire, `wire_tx` and `wire_rx`, from QUIC, WebSocket, and embedder gateway sources
- [Performance survey follow-ups](/quest/m2/performance-survey/README.md) - benchmark the source audit's transport, browser, media and serving risks before optimizing
- [Relay session bench](/quest/m2/bench-relay.md) - the same scenario through moq-relay's own connection handling
- [Transport x version benches](/quest/m2/bench-transport-sweep.md) - the session benches sweep transports as well as versions
- [Paired bench BASE](/quest/m2/bench-base-paired.md) - `just bench <base>` uses the nightly's paired comparison and the old one is deleted
- [Relay NixOS module](/quest/m2/nix-relay-module.md) - module edits run moq-relay's tests, and `cluster.rootUrl` takes several peers
Expand Down
24 changes: 0 additions & 24 deletions quest/m2/bench-relay.md

This file was deleted.

1 change: 0 additions & 1 deletion quest/m2/bench-transport-sweep.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@ Public API: none. Wire: none.
## Related

- [Benchmark sources](/quest/m2/bench-sources.md) - feeds these series into the regression table
- [Relay session bench](/quest/m2/bench-relay.md) - the same scenario through moq-relay
- [QUIC on the sim](/quest/m2/quic-sim.md) - an in-memory QUIC link the sweep could reuse
- [Stream transport bench](/quest/m2/perf/stream/bench.md) - a Criterion qmux micro-bench over tcp, tls, ws and wss
Loading
Loading