Commit cf1f0eb7 by Ian Lance Taylor

runtime: Disable memory profiling in gc_test.

From-SVN: r186631
parent a3a5e559
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment