diff options
| author | Agando <roduccomm@gmail.com> | 2026-07-09 06:00:32 +0200 |
|---|---|---|
| committer | Agando <roduccomm@gmail.com> | 2026-07-09 06:00:32 +0200 |
| commit | 2538c91876455fe96febf441fc8dde20f2606023 (patch) | |
| tree | b74c949cdf4296d10103dd57ef8178ba427a5b39 /skills/performance-regression-protocol.json | |
| parent | ea4d09fb5ccba12ed774fcf7c913edfa1e6a851a (diff) | |
auto: 2026-07-09_06:00 changes
Diffstat (limited to 'skills/performance-regression-protocol.json')
| -rw-r--r-- | skills/performance-regression-protocol.json | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/skills/performance-regression-protocol.json b/skills/performance-regression-protocol.json new file mode 100644 index 0000000..aec73c3 --- /dev/null +++ b/skills/performance-regression-protocol.json @@ -0,0 +1,15 @@ +{ + "name": "performance-regression-protocol", + "description": "Systematic procedure for detecting, measuring, and resolving performance regressions across WebX11 modules and AI workflows", + "tags": [ + "\"performance\"", + "\"regression\"", + "\"benchmark\"", + "\"optimization\"", + "\"metrics\"" + ], + "category": "dev", + "created": "2026-06-25T00:24:42.730Z", + "updated": "2026-07-03T15:14:32.850Z", + "content": "---\ndescription: Systematic procedure for detecting, measuring, and resolving performance regressions across WebX11 modules and AI workflows\ncategory: dev\ntags: [\"performance\",\"regression\",\"benchmark\",\"optimization\",\"metrics\"]\nupdated: \"2026-07-03T16:45:00.000Z\"\n---\n\n# Performance Regression Protocol\n\nA data-driven approach to maintaining system performance over time.\n\n## Detection Triggers\n\n- User reports slower responses\n- `get_usage_stats` shows increased latency\n- `get_status` reports memory pressure\n- Module test suite takes >110% of baseline duration\n\n## Measurement Baseline\n\nRecord these metrics before any optimization:\n- Average token latency (per model)\n- Module load time\n- NVFS index build duration\n- Dashboard render time\n- Agent spawn/heartbeat latency\n\n## Regression Checklist\n\n1. **Isolate** — Use `list_modified_modules` to find recent changes\n2. **Benchmark** — Run A/B test with previous version\n3. **Profile** — Check `get_usage_stats(model, since_hours=24)`\n4. **Fix** — Revert or optimize the offending change\n5. **Verify** — Confirm metrics return to baseline\n6. **Document** — Record in `/skills/` and update baseline\n\n## Prevention\n\n- Set performance budgets in module manifests\n- Run regression tests before merging changes\n- Monitor `get_usage_stats` weekly via cron\n- Archive performance baselines in `/archive/baselines/`" +}
\ No newline at end of file |