runtime: Disable memory profiling in gc_test.
From-SVN: r186632
This commit is contained in:
parent
a21b0e9956
commit
500c188b23
|
@ -15,6 +15,8 @@ func TestGcSys(t *testing.T) {
|
|||
runtime.ReadMemStats(memstats)
|
||||
sys := memstats.Sys
|
||||
|
||||
runtime.MemProfileRate = 0 // disable profiler
|
||||
|
||||
itercount := 1000000
|
||||
if testing.Short() {
|
||||
itercount = 100000
|
||||
|
|
Loading…
Reference in New Issue