go test -v -run=none -bench=^BenchmarkBytesConv -benchmem=true
(b *testing.B)
| 100 | // go test -v -run=none -bench=^BenchmarkBytesConv -benchmem=true |
| 101 | |
| 102 | func BenchmarkBytesConvBytesToStrRaw(b *testing.B) { |
| 103 | for b.Loop() { |
| 104 | rawBytesToStr(testBytes) |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | func BenchmarkBytesConvBytesToStr(b *testing.B) { |
| 109 | for b.Loop() { |
nothing calls this directly
no test coverage detected