(b *testing.B)
| 5 | ) |
| 6 | |
| 7 | func BenchmarkQWriterVString(b *testing.B) { |
| 8 | v := createTestS(100) |
| 9 | b.RunParallel(func(pb *testing.PB) { |
| 10 | var w QWriter |
| 11 | bb := AcquireByteBuffer() |
| 12 | w.w = bb |
| 13 | for pb.Next() { |
| 14 | w.V(v) |
| 15 | bb.Reset() |
| 16 | } |
| 17 | ReleaseByteBuffer(bb) |
| 18 | }) |
| 19 | } |
| 20 | |
| 21 | func BenchmarkQWriterVInt(b *testing.B) { |
| 22 | v := 1233455 |
nothing calls this directly
no test coverage detected
searching dependent graphs…