added alloc logging

This commit is contained in:
Todd Gruben 2018-01-19 12:15:15 -06:00
parent da5f8f11bb
commit e1735a60ec

View file

@ -1090,6 +1090,7 @@ func BenchmarkFragment_Snapshot(b *testing.B) {
// Reset timer and execute benchmark.
b.ResetTimer()
b.ReportAllocs()
for i := 0; i < b.N; i++ {
err := f.Snapshot()
if err != nil {