(b *testing.B)
| 153 | } |
| 154 | |
| 155 | func BenchmarkQWriterFint(b *testing.B) { |
| 156 | b.RunParallel(func(pb *testing.PB) { |
| 157 | f := 123.0 |
| 158 | var w QWriter |
| 159 | bb := AcquireByteBuffer() |
| 160 | w.w = bb |
| 161 | for pb.Next() { |
| 162 | w.F(f) |
| 163 | bb.Reset() |
| 164 | f++ |
| 165 | } |
| 166 | ReleaseByteBuffer(bb) |
| 167 | }) |
| 168 | } |
| 169 | |
| 170 | func BenchmarkQWriterD(b *testing.B) { |
| 171 | n := 123456 |
nothing calls this directly
no test coverage detected
searching dependent graphs…