Skip to content

[performance] Regression in YAMLGeneration: 21.3% slower #27152

@github-actions

Description

@github-actions

📊 Performance Regression Detected

Benchmark: BenchmarkYAMLGeneration

Current Performance: 5,318,558 ns/op (5.32ms)
Historical Average: 4,384,626 ns/op (4.38ms)
Change: +21.3% slower

📈 Detailed Performance Metrics

Performance Comparison

  • ns/op: 5,318,558 (was 4,384,626)
  • Change: +21.3%
  • Memory: 875,273 B/op
  • Allocations: 7,453 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 YAML generation (pkg/workflow/compiler_yaml.go)
  2. Run make bench-memory to generate memory profiles
  3. Use go tool pprof to identify hotspots in the YAML generation step
  4. Check for any new YAML marshaling or template expansions added recently
  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