aboutsummaryrefslogtreecommitdiff
path: root/skills/performance-regression-protocol.json
diff options
context:
space:
mode:
authorAgando <roduccomm@gmail.com>2026-07-09 06:00:32 +0200
committerAgando <roduccomm@gmail.com>2026-07-09 06:00:32 +0200
commitcf7461ffeb4f53f3f50c9c692a2e4fdcecf17e82 (patch)
treee7780cd41271381cf108c9c81d71a3cb65cfd555 /skills/performance-regression-protocol.json
parentea4d09fb5ccba12ed774fcf7c913edfa1e6a851a (diff)
auto: 2026-07-09_06:00 changes
Diffstat (limited to 'skills/performance-regression-protocol.json')
-rw-r--r--skills/performance-regression-protocol.json15
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