1.1 KiB
1.1 KiB
id, title, workspaceRoot, schedule, tools, mode, enabled, modelSelection, timeoutSeconds, maxIterations, tags, metadata
| id | title | workspaceRoot | schedule | tools | mode | enabled | modelSelection | timeoutSeconds | maxIterations | tags | metadata | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| performance-baseline | Track Performance Metrics | /absolute/path/to/repo | 0 2 * * * | run_commands,read_files,editor | act | false |
|
2400 | 20 |
|
|
Measure and track performance baselines for the project:
- Build the project and measure build time:
npm run build - Bundle size analysis (if applicable): Run bundler with size reporting
- Cold start time if this is a CLI/server tool
- Run performance benchmarks if they exist
Create or update .perf-baseline.json with:
{
"timestamp": "ISO-8601",
"buildTime": "milliseconds",
"bundleSize": "bytes",
"coldStart": "milliseconds",
"metrics": {...}
}
Detect performance regressions:
- If build time increased by >10%, flag as warning
- If bundle size increased by >5%, flag as concern
- Compare to previous day's baseline
Report findings with recommendations for optimization if regressions detected.