BenchmarkParseExpression_Simple benchmarks simple expression parsing
(b *testing.B)
| 148 | |
| 149 | // BenchmarkParseExpression_Simple benchmarks simple expression parsing |
| 150 | func 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 |
| 159 | func BenchmarkParseExpression_Comparison(b *testing.B) { |
nothing calls this directly
no test coverage detected