2017-06-26から1日間の記事一覧
pprof使うほどでもないよなってなったので、こんな感じで雑に。 var mem runtime.MemStats runtime.ReadMemStats(&mem) fmt.Printf("Alloc [%v] \t HeapAlloc [%v] \n", mem.Alloc, mem.HeapAlloc)
pprof使うほどでもないよなってなったので、こんな感じで雑に。 var mem runtime.MemStats runtime.ReadMemStats(&mem) fmt.Printf("Alloc [%v] \t HeapAlloc [%v] \n", mem.Alloc, mem.HeapAlloc)