Commit 9ee94d8
authored
bench: criterion harness and guardrail crate (c4) (#84)
* bench: add criterion harness and guardrail crate
Create the dedicated benchmark phase by adding benchmark_support, the up-streamer criterion bench harness, and a standalone criterion-guardrail crate with fixture-backed threshold checks, plus workflow/script plumbing. This boundary isolates performance tooling and benchmark-only wiring from smoke-suite and endpoint-behavior changes so reviewers can validate ergonomics guardrails independently.
Key review files: up-streamer/src/benchmark_support.rs, up-streamer/benches/streamer_criterion.rs, utils/criterion-guardrail/src/lib.rs, scripts/bench_streamer_criterion.sh, .github/workflows/benchmark-guardrail-advisory.yaml, up-streamer/Cargo.toml, Cargo.toml.
Mechanical vs behavioral: mostly mechanical benchmark wiring and fixture ingestion with behavioral logic constrained to deterministic threshold evaluation in the guardrail crate.
* refactor: apply up-rust feedback sweep to benchmark delta1 parent cc71917 commit 9ee94d8
25 files changed
Lines changed: 1695 additions & 4 deletions
File tree
- .github/workflows
- scripts
- up-streamer
- benches
- src
- utils/criterion-guardrail
- src
- tests
- fixtures/criterion-sample-tree
- egress_forwarding/single_route_dispatch
- ergonomics_baseline
- ergonomics_candidate/new
- ingress_registry
- register_route
- ergonomics_baseline
- ergonomics_candidate/new
- unregister_route
- ergonomics_baseline
- ergonomics_candidate/new
- publish_resolution/source_filter_derivation
- ergonomics_baseline
- ergonomics_candidate/new
- routing_lookup
- exact_authority
- ergonomics_baseline
- ergonomics_candidate/new
- wildcard_authority
- ergonomics_baseline
- ergonomics_candidate/new
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments