Skip to main content

Phase-2 Perf Playbook (Second 5 Steps)

Script: scripts/phase2_perf_playbook.py

Covers

  1. Stability regression on phase-1 winner.
  2. Core vs e2e split on same shape.
  3. Concurrency neighborhood check.
  4. collector_flush_every sweep (256/512/1024).
  5. 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