Skip to content

[performance] Regression in CompileMCPWorkflow: 15.5% slower #30653

@github-actions

Description

@github-actions

📊 Performance Regression Detected

Benchmark: BenchmarkCompileMCPWorkflow

Current Performance: 385,215 ns/op (385.21μs)
Historical Average: 333,437 ns/op (333.44μs)
Change: +15.5% slower

📈 Detailed Performance Metrics

Performance Comparison

  • ns/op: 385,215 (was 333,437)
  • Change: +15.5%
  • Memory: 118,269 B/op
  • Allocations: 2,204 allocs/op
  • Historical Data Points: 5

Baseline Targets

  • MCP-heavy workflows: <1s target
  • Current: 0.39ms (well within target, but regression trend is concerning)

💡 Recommended Actions

  1. Review recent changes to the MCP workflow compilation path in pkg/workflow
  2. Run make bench-memory to generate memory profiles
  3. Use go tool pprof to identify hotspots
  4. Compare with previous benchmark results using benchstat
📋 Additional Context

Automatically generated by Daily CLI Performance workflow

Generated by Daily CLI Performance Agent · ● 6M ·

  • expires on May 8, 2026, 3:42 PM UTC

Metadata

Metadata

Assignees

No one assigned

    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