(b *testing.B)
| 167 | } |
| 168 | |
| 169 | func BenchmarkFastJsonNodeEmpty(b *testing.B) { |
| 170 | for i := 0; i < b.N; i++ { |
| 171 | enc := newEncoder() |
| 172 | var fj fastJsonNode |
| 173 | for range 2000000 { |
| 174 | fj = enc.newNode(0) |
| 175 | } |
| 176 | _ = fj |
| 177 | } |
| 178 | } |
| 179 | |
| 180 | var ( |
| 181 | testAttr = "abcdefghijklmnop" |
nothing calls this directly
no test coverage detected