将部分MB、GB...改成MiB、GiB...

This commit is contained in:
GoEdgeLab
2023-12-03 11:32:09 +08:00
parent a5ddecfdab
commit 7f53748683

View File

@@ -33,7 +33,7 @@ func TestZero_Map(t *testing.T) {
var stat2 = &runtime.MemStats{}
runtime.ReadMemStats(stat2)
t.Log((stat2.HeapInuse-stat1.HeapInuse)/1024/1024, "MB")
t.Log((stat2.HeapInuse-stat1.HeapInuse)/1024/1024, "MiB")
t.Log(len(m))
_, ok := m[1024]