(b *testing.B)
| 1113 | } |
| 1114 | |
| 1115 | func BenchmarkNewCustomEnvEager(b *testing.B) { |
| 1116 | for i := 0; i < b.N; i++ { |
| 1117 | _, err := NewCustomEnv(StdLib(), EagerlyValidateDeclarations(true)) |
| 1118 | if err != nil { |
| 1119 | b.Fatalf("NewCustomEnv() failed: %v", err) |
| 1120 | } |
| 1121 | } |
| 1122 | } |
| 1123 | |
| 1124 | func BenchmarkNewEnvLazy(b *testing.B) { |
| 1125 | for i := 0; i < b.N; i++ { |
nothing calls this directly
no test coverage detected