(b *testing.B)
| 1274 | } |
| 1275 | |
| 1276 | func BenchmarkNewCustomEnvEager(b *testing.B) { |
| 1277 | for i := 0; i < b.N; i++ { |
| 1278 | _, err := NewCustomEnv(StdLib(), EagerlyValidateDeclarations(true)) |
| 1279 | if err != nil { |
| 1280 | b.Fatalf("NewCustomEnv() failed: %v", err) |
| 1281 | } |
| 1282 | } |
| 1283 | } |
| 1284 | |
| 1285 | func BenchmarkNewEnvLazy(b *testing.B) { |
| 1286 | for i := 0; i < b.N; i++ { |
nothing calls this directly
no test coverage detected