📊 Performance Regression Detected
Benchmark: BenchmarkFindIncludesInContent
Current Performance: 42,474 ns/op (42.47μs)
Historical Average: 28,049 ns/op (28.05μs)
Change: +51.4% slower
Historical Data Points: 7
📈 Detailed Performance Metrics
Performance Comparison
| Metric |
Current |
Historical Avg |
Change |
| ns/op |
42,474 |
28,049 |
+51.4% |
| B/op |
14,557 |
— |
— |
| allocs/op |
52 |
— |
— |
Baseline Targets
- CLI helper functions should remain in the microsecond range
- Simple workflows: <100ms total
💡 Recommended Actions
- Review recent changes to
FindIncludesInContent in pkg/cli/ or pkg/workflow/
- Check if include/import scanning logic was updated (regex changes, additional file traversal)
- Run
make bench-memory to profile memory allocations
- Use
go tool pprof to identify where the slowdown occurs
- Consider if new include patterns were added that increase scanning complexity
📋 Additional Context
Automatically generated by Daily CLI Performance workflow
Generated by Daily CLI Performance Agent · ● 1.1M · ◷
📊 Performance Regression Detected
Benchmark:
BenchmarkFindIncludesInContentCurrent Performance: 42,474 ns/op (42.47μs)
Historical Average: 28,049 ns/op (28.05μs)
Change: +51.4% slower
Historical Data Points: 7
📈 Detailed Performance Metrics
Performance Comparison
Baseline Targets
💡 Recommended Actions
FindIncludesInContentinpkg/cli/orpkg/workflow/make bench-memoryto profile memory allocationsgo tool pprofto identify where the slowdown occurs📋 Additional Context
Automatically generated by Daily CLI Performance workflow