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

Function BenchmarkParseExpression_Simple

pkg/workflow/expressions_benchmark_test.go:150–156  ·  view source on GitHub ↗

BenchmarkParseExpression_Simple benchmarks simple expression parsing

(b *testing.B)

Source from the content-addressed store, hash-verified

148
149// BenchmarkParseExpression_Simple benchmarks simple expression parsing
150func BenchmarkParseExpression_Simple(b *testing.B) {
151 expression := "github.event.issue.number"
152
153 for b.Loop() {
154 _, _ = ParseExpression(expression)
155 }
156}
157
158// BenchmarkParseExpression_Comparison benchmarks comparison expression parsing
159func BenchmarkParseExpression_Comparison(b *testing.B) {

Callers

nothing calls this directly

Calls 1

ParseExpressionFunction · 0.85

Tested by

no test coverage detected