(b *testing.B)
| 310 | } |
| 311 | |
| 312 | func BenchmarkWriteOutput(b *testing.B) { |
| 313 | content := []byte("SELECT * FROM users WHERE id = 1") |
| 314 | var buf bytes.Buffer |
| 315 | b.ResetTimer() |
| 316 | for i := 0; i < b.N; i++ { |
| 317 | buf.Reset() |
| 318 | _ = WriteOutput(content, "", &buf) |
| 319 | } |
| 320 | } |
nothing calls this directly
no test coverage detected