Skip to content

[performance] Regression in YAMLGeneration: 14.2% slower #36484

@github-actions

Description

@github-actions

📊 Performance Regression Detected

Benchmark: BenchmarkYAMLGeneration

Current Performance: 2,340,034 ns/op (2.34ms)
Historical Average: 2,049,249 ns/op (2.05ms)
Change: +14.2% slower

📈 Detailed Performance Metrics

Performance Comparison

  • ns/op: 2,340,034 (was 2,049,249)
  • B/op: 837,973 (was ~831,000)
  • allocs/op: 4,917 (was ~4,667)
  • Change: +14.2%
  • Historical Data Points: 2

Baseline Targets

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

Related Warnings (same run)

  • CompileComplexWorkflow: +7.0% slower
  • CompileMCPWorkflow: +7.8% slower
  • CompileMemoryUsage: +5.3% slower

💡 Recommended Actions

  1. Review recent changes to the YAML generation phase of the compilation pipeline
  2. Run make bench-memory to generate memory profiles
  3. Use go tool pprof to identify hotspots in pkg/workflow/compiler_yaml.go
  4. Compare with previous benchmark results using benchstat
📋 Additional Context
  • Run ID: 26832723339
  • Date: 2026-06-02
  • Workflow: Daily CLI Performance
  • Note: This is based on 2 historical data points. Monitor for the next few runs to confirm trend.

Automatically generated by Daily CLI Performance workflow

Generated by ⚡ Daily CLI Performance Agent · sonnet46 143.7K ·

  • expires on Jun 4, 2026, 4:22 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