diff options
Diffstat (limited to 'test/mallocrep.go')
| -rw-r--r-- | test/mallocrep.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/mallocrep.go b/test/mallocrep.go index 9f47e52e2..cffcd1638 100644 --- a/test/mallocrep.go +++ b/test/mallocrep.go @@ -33,6 +33,7 @@ func bigger() { func main() { runtime.GC() // clean up garbage from init + runtime.UpdateMemStats() // first call can do some allocations runtime.MemProfileRate = 0 // disable profiler runtime.MemStats.Alloc = 0 // ignore stacks flag.Parse() |
