|
| 1 | +# PR_11_220 Report - V2 Performance Baseline (Load + Render Timing) |
| 2 | + |
| 3 | +## Files Changed |
| 4 | +- `tests/runtime/V2Performance.test.mjs` |
| 5 | +- `docs/dev/reports/PR_11_220_report.md` |
| 6 | + |
| 7 | +## Measurement Scope |
| 8 | +Baseline-only runtime measurement (no optimization pass) for: |
| 9 | +- `asset-browser-v2` |
| 10 | +- `palette-manager-v2` |
| 11 | +- `svg-asset-studio-v2` |
| 12 | +- `tilemap-studio-v2` |
| 13 | +- `vector-map-editor-v2` |
| 14 | + |
| 15 | +Captured per tool: |
| 16 | +1. load start -> script ready |
| 17 | +2. session read -> session resolved |
| 18 | +3. render start -> render complete (`VALID` path simulation) |
| 19 | + |
| 20 | +Output artifact: |
| 21 | +- `tmp/v2-performance-results.json` |
| 22 | + |
| 23 | +## Validation Commands Run |
| 24 | +1. `node --check tests/runtime/V2Performance.test.mjs` |
| 25 | +Result: **PASS** |
| 26 | +2. `node tests/runtime/V2Performance.test.mjs` |
| 27 | +Result: **PASS** |
| 28 | +3. `node --check tools/*-v2/index.js` |
| 29 | +Result: **FAIL** on Windows/Node wildcard resolution (`MODULE_NOT_FOUND` for literal `tools\\*-v2\\index.js`) |
| 30 | +4. Explicit equivalent per-file syntax sweep for `tools/*-v2/index.js` |
| 31 | +Result: **PASS** for all detected V2 tool JS files |
| 32 | + |
| 33 | +## Timing Results Per Tool (ms) |
| 34 | +- `asset-browser-v2`: load `0.190`, session `0.183`, render `0.077`, total `0.576` |
| 35 | +- `palette-manager-v2`: load `0.095`, session `0.207`, render `0.079`, total `0.398` |
| 36 | +- `svg-asset-studio-v2`: load `0.109`, session `0.133`, render `0.080`, total `0.334` |
| 37 | +- `tilemap-studio-v2`: load `0.103`, session `0.133`, render `0.058`, total `0.309` |
| 38 | +- `vector-map-editor-v2`: load `0.130`, session `0.245`, render `0.141`, total `0.530` |
| 39 | + |
| 40 | +## Average Timings (ms) |
| 41 | +- load start -> script ready: `0.125` |
| 42 | +- session resolve: `0.180` |
| 43 | +- render (`VALID`) time: `0.087` |
| 44 | +- total: `0.429` |
| 45 | + |
| 46 | +## Outliers |
| 47 | +- No outliers flagged by the harness threshold (`total > 1.5x average total`). |
| 48 | + |
| 49 | +## Behavior Change Confirmation |
| 50 | +- No V2 tool rendering logic was changed. |
| 51 | +- No schema/sample/game/workspace-v1/platformShell/tools/shared files were changed. |
| 52 | +- No fallback/default/demo data was introduced. |
| 53 | +- This PR adds measurement-only runtime coverage and reporting. |
0 commit comments