mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
added alloc logging
This commit is contained in:
parent
da5f8f11bb
commit
e1735a60ec
1 changed files with 1 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue