Phase-2 Perf Playbook (Second 5 Steps)
Script: scripts/phase2_perf_playbook.py
Covers
- Stability regression on phase-1 winner.
- Core vs e2e split on same shape.
- Concurrency neighborhood check.
collector_flush_everysweep (256/512/1024).- Gate evaluation + recommendation.
Quick smoke
python -u scripts/phase2_perf_playbook.py --total 50000 --repeats 1
Full run
python -u scripts/phase2_perf_playbook.py --total 300000 --repeats 3
Use specific phase1 summary
python -u scripts/phase2_perf_playbook.py --phase1-summary data/benchmarks/phase1/phase1_summary_YYYYMMDD_HHMMSS.json --total 300000 --repeats 3
Output
data/benchmarks/phase2/phase2_summary_<timestamp>.json