Skip to content

[performance] Regression in Validation: 117.6% slower #27151

@github-actions

Description

@github-actions

📊 Performance Regression Detected

Benchmark: BenchmarkValidation

Current Performance: 3,659,925 ns/op (3.66ms)
Historical Average: 1,682,244 ns/op (1.68ms)
Change: +117.6% slower

📈 Detailed Performance Metrics

Performance Comparison

  • ns/op: 3,659,925 (was 1,682,244)
  • Change: +117.6%
  • Memory: 843,594 B/op
  • Allocations: 8,680 allocs/op
  • Historical Data Points: 9

Baseline Targets

  • Simple workflows: <100ms
  • Complex workflows: <500ms
  • MCP-heavy workflows: <1s

💡 Recommended Actions

  1. Review recent changes to the validation pipeline (pkg/workflow/validation or validators)
  2. Run make bench-memory to generate memory profiles
  3. Use go tool pprof to identify hotspots in the validation step
  4. Check if any new validators were recently added that may be O(n2) or worse
  5. Compare with previous benchmark results using benchstat
📋 Additional Context

Generated by Daily CLI Performance Agent · ● 1.1M ·

  • expires on Apr 21, 2026, 5:55 AM UTC

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions