diff --git a/docs/pack-profile-analysis.md b/docs/pack-profile-analysis.md index c38524c..91126e9 100644 --- a/docs/pack-profile-analysis.md +++ b/docs/pack-profile-analysis.md @@ -40,6 +40,33 @@ python3 scripts/pack-profile-report.py \ m2p=logs/pack_profile.m2p.txt ``` +For repeated testing, use the wrapper scripts: + +```bash +./scripts/capture-pack-profile.sh \ + --runtime-root ../m2dev-client \ + --label pck +``` + +This stages the runtime into `build-mingw64-lld/bin`, runs the client with +`M2PACK_PROFILE=1`, then archives: + +- raw report: `build-mingw64-lld/bin/log/pack-profile-runs/