diff options
Diffstat (limited to 'bench_test.go')
-rw-r--r-- | bench_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bench_test.go b/bench_test.go index f87477e..3dbdf73 100644 --- a/bench_test.go +++ b/bench_test.go @@ -125,3 +125,8 @@ func BenchmarkReadVarChannel(b *testing.B) { wg.Wait() } } + +func BenchmarkPingPong(b *testing.B) { + b.ReportAllocs() + testPingPong(b, b.N, func(string) {}) +} |