Skip to content

[performance] Regression in CompileSimpleWorkflow: 39.3% slowerΒ #27279

@github-actions

Description

@github-actions

πŸ“Š Performance Regression Detected

Benchmark: BenchmarkCompileSimpleWorkflow

Current Performance: 6.92ms (6,922,102 ns/op)
Historical Average: 4.97ms (~4,970,000 ns/op)
Change: +39.3% slower
Historical Data Points: 7

πŸ“ˆ Detailed Performance Metrics

Performance Comparison

Metric Current Historical Avg Change
ns/op 6,922,102 ~4,970,000 +39.3%
B/op 1,330,960 β€” β€”
allocs/op 8,500 β€” β€”

Baseline Targets

  • Simple workflows: <100ms βœ… (still within target)
  • Complex workflows: <500ms
  • MCP-heavy workflows: <1s

πŸ’‘ Recommended Actions

  1. Review recent changes to the workflow compilation pipeline
  2. Run make bench-memory to generate memory profiles
  3. Use go tool pprof to identify hotspots in the compilation path
  4. Compare with previous benchmark results using benchstat
  5. Check if the regression correlates with the Validation regression (see related issue)
πŸ“‹ Additional Context
  • Run ID: Β§24650923335
  • Date: 2026-04-20
  • Workflow: Daily CLI Performance
  • All regressions today: Validation (+95.6%), CompileSimpleWorkflow (+39.3%), CompileComplexWorkflow (+29.2%), ExtractWorkflowNameFromFile (+24.5%), CompileMCPWorkflow (+23.8%)

Generated by Daily CLI Performance Agent Β· ● 1.1M Β· β—·

  • expires on Apr 22, 2026, 6:06 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