Skip to content

[performance] Regression in ExtractWorkflowNameFromFile: 104.8% slower #30651

@github-actions

Description

@github-actions

📊 Performance Regression Detected

Benchmark: BenchmarkExtractWorkflowNameFromFile

Current Performance: 39,848 ns/op (39.85μs)
Historical Average: 19,458 ns/op (19.46μs)
Change: +104.8% slower

📈 Detailed Performance Metrics

Performance Comparison

  • ns/op: 39,848 (was 19,458)
  • Change: +104.8%
  • Memory: 65,802 B/op
  • Allocations: 8 allocs/op
  • Historical Data Points: 4

Baseline Targets

Helper function — no specific time target, but a 2x regression warrants investigation.

💡 Recommended Actions

  1. Review recent changes to ExtractWorkflowNameFromFile in pkg/cli
  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:41 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