(b *testing.B)
| 138 | } |
| 139 | |
| 140 | func BenchmarkQWriterFfloat(b *testing.B) { |
| 141 | b.RunParallel(func(pb *testing.PB) { |
| 142 | f := 123.456 |
| 143 | var w QWriter |
| 144 | bb := AcquireByteBuffer() |
| 145 | w.w = bb |
| 146 | for pb.Next() { |
| 147 | w.F(f) |
| 148 | bb.Reset() |
| 149 | f++ |
| 150 | } |
| 151 | ReleaseByteBuffer(bb) |
| 152 | }) |
| 153 | } |
| 154 | |
| 155 | func BenchmarkQWriterFint(b *testing.B) { |
| 156 | b.RunParallel(func(pb *testing.PB) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…