Check performance regression budgets from nested Chrome Trace JSON duration events.
node examples/demo.mjs| Candidate | Expected decision |
|---|---|
| candidate-pass.json | Exit 0. Pipeline own time is 2,000 ns. |
| candidate-regression.json | Exit 1. Own time rises from 2,000 to 5,000 ns, above both budgets. |
| candidate-invalid.json | Exit 2. Reports the unclosed begin event on stderr. |
moon run cmd/main --target js -- examples/baseline.json examples/candidate-pass.json examples/budgets.jsonnode scripts/verify.mjs
./scripts/powershell-smoke.ps1pub(all) struct SpanStats {
count : Int
total_ns : Int64
self_ns : Int64
max_ns : Int64
}Install
Download zipCheck performance regression budgets from nested Chrome Trace JSON duration events.