Files
cline/sdk/examples/cron/performance-baseline.cron.md
T
Renee Huangandabeatrix e215d3d91c chore: rename example folders; fix references (#60)
* rename folders

* fix examples reorg references

* move over files

* having agent fixing and validating all examples are still working

* fix sidecar paths

---------

Co-authored-by: abeatrix <beatrix@cline.bot>
2026-05-07 20:38:04 -07:00

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
providerId modelId
cline anthropic/claude-opus-4.7
2400 20
automation
performance
monitoring
owner metricsFile
platform .perf-baseline.json

Measure and track performance baselines for the project:

  1. Build the project and measure build time: npm run build
  2. Bundle size analysis (if applicable): Run bundler with size reporting
  3. Cold start time if this is a CLI/server tool
  4. 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.