Set profiler sleep time to 30 seconds
This commit is contained in:
parent
f49735094b
commit
d3a6757d5e
2
utils.go
2
utils.go
@ -19,6 +19,6 @@ func startRuntimeProfiler() {
|
|||||||
fmt.Println("Memory acquired:", m.Sys, "bytes,", m.Sys/MEGABYTE, "mb")
|
fmt.Println("Memory acquired:", m.Sys, "bytes,", m.Sys/MEGABYTE, "mb")
|
||||||
fmt.Println("Memory used:", m.Alloc, "bytes,", m.Alloc/MEGABYTE, "mb")
|
fmt.Println("Memory used:", m.Alloc, "bytes,", m.Alloc/MEGABYTE, "mb")
|
||||||
|
|
||||||
time.Sleep(time.Minute)
|
time.Sleep(time.Second * 30)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user