Run the benchmarks
Recipe for reproducing every performance number.
Run the benchmarks
Problem: reproduce the framework’s performance claims on your machine.
Steps:
- Run the criterion suite:
cargo bench -p veloce --bench frame
- Read
frame_cost/children/{10,100,500,2000}for per-frame render cost andcold_boot_first_framefor boot time. - Run the process probes:
cargo test -p veloce-runtime --test perf -- --nocapture
cargo test -p veloce-runtime --test dispatch -- --nocapture
- Compare
COLD_BOOT_MS,IDLE_RSS_KIB, andKEY_LATENCY_P95_USagainst the budgets in Benchmarks.
Note: per-frame cost scales with child count (see the honest caveat on the Benchmarks page) — record your machine’s numbers before comparing.