runtime: Disable memory profiling in gc_test.
From-SVN: r186631
This commit is contained in:
parent
a3a5e559af
commit
cf1f0eb7cc
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue