Spooky includes a dedicated benchmark crate and helper scripts for repeatable performance work.
Components
crates/bench/provides the benchmark CLI and report generationscripts/bench-micro.shruns the micro suitescripts/bench-macro.shruns the macro suitescripts/bench-gate.shcompares current runs to baseline reportsscripts/bench-promote-baseline.shpromotes a report into the stored baseline set
What The Benchmark Suite Covers
- route lookup behavior
- load-balancer selection behavior
- connection lookup behavior
- header collection behavior
- macro traffic-mix workloads
- long-lived stream workload models
Why It Matters
This project has a large hot path in the edge runtime. Benchmarking is part of the quality bar for changes that affect:
- routing
- connection lookup
- balancing
- buffering
- stream lifecycle
Operational Use
- use micro benchmarks for algorithmic regressions
- use macro benchmarks for end-to-end hot-path behavior
- use baseline gating for release confidence rather than one-off headline numbers