Files
cline--cline/sdk/examples/cron/performance-baseline.cron.md
2026-07-13 12:52:40 +08: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.