(b *testing.B)
| 1103 | } |
| 1104 | |
| 1105 | func BenchmarkNewCustomEnvLazy(b *testing.B) { |
| 1106 | b.ResetTimer() |
| 1107 | for i := 0; i < b.N; i++ { |
| 1108 | _, err := NewCustomEnv(StdLib(), EagerlyValidateDeclarations(false)) |
| 1109 | if err != nil { |
| 1110 | b.Fatalf("NewCustomEnv() failed: %v", err) |
| 1111 | } |
| 1112 | } |
| 1113 | } |
| 1114 | |
| 1115 | func BenchmarkNewCustomEnvEager(b *testing.B) { |
| 1116 | for i := 0; i < b.N; i++ { |
nothing calls this directly
no test coverage detected