(b *testing.B)
| 1264 | } |
| 1265 | |
| 1266 | func BenchmarkNewCustomEnvLazy(b *testing.B) { |
| 1267 | b.ResetTimer() |
| 1268 | for i := 0; i < b.N; i++ { |
| 1269 | _, err := NewCustomEnv(StdLib(), EagerlyValidateDeclarations(false)) |
| 1270 | if err != nil { |
| 1271 | b.Fatalf("NewCustomEnv() failed: %v", err) |
| 1272 | } |
| 1273 | } |
| 1274 | } |
| 1275 | |
| 1276 | func BenchmarkNewCustomEnvEager(b *testing.B) { |
| 1277 | for i := 0; i < b.N; i++ { |
nothing calls this directly
no test coverage detected