Skip to content

Commit 82c12cf

Browse files
committed
comment out log
1 parent a669860 commit 82c12cf

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

bufferpool_test.go

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,16 @@ func BenchmarkBufferPool(b *testing.B) {
2121

2222
m2 := new(runtime.MemStats)
2323
runtime.ReadMemStats(m2)
24-
b.Logf(
25-
"%-20s\tTotalAlloc=%5d\tStackInUse=%5d",
26-
name,
27-
int64(m2.TotalAlloc)-int64(m1.TotalAlloc),
28-
int64(m2.StackInuse)-int64(m1.StackInuse),
29-
//int64(m2.HeapSys) - int64(m1.HeapSys),
30-
//int64(m2.HeapIdle) - int64(m1.HeapIdle),
31-
)
24+
/*
25+
b.Logf(
26+
"%-20s\tTotalAlloc=%5d\tStackInUse=%5d",
27+
name,
28+
int64(m2.TotalAlloc)-int64(m1.TotalAlloc),
29+
int64(m2.StackInuse)-int64(m1.StackInuse),
30+
//int64(m2.HeapSys) - int64(m1.HeapSys),
31+
//int64(m2.HeapIdle) - int64(m1.HeapIdle),
32+
)
33+
*/
3234
}
3335
run("default/8", func(tb *testing.B) {
3436
tb.StopTimer()

0 commit comments

Comments
 (0)