MCPcopy Create free account
hub / github.com/github/gh-aw / BenchmarkValidateBalancedBraces

Function BenchmarkValidateBalancedBraces

pkg/workflow/concurrency_validation_test.go:651–657  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

649}
650
651func BenchmarkValidateBalancedBraces(b *testing.B) {
652 input := "gh-aw-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}"
653
654 for b.Loop() {
655 _ = validateBalancedBraces(input)
656 }
657}
658
659func BenchmarkValidateExpressionContent(b *testing.B) {
660 expr := "(github.workflow || github.ref) && github.repository"

Callers

nothing calls this directly

Calls 1

validateBalancedBracesFunction · 0.85

Tested by

no test coverage detected