(b *testing.B)
| 156 | } |
| 157 | |
| 158 | func BenchmarkCountGteOneNoMatch(b *testing.B) { |
| 159 | program, _ := expr.Compile(`count(1..1000, # == 0) >= 1`) |
| 160 | var out any |
| 161 | b.ResetTimer() |
| 162 | for n := 0; n < b.N; n++ { |
| 163 | out, _ = vm.Run(program, nil) |
| 164 | } |
| 165 | _ = out |
| 166 | } |