From 07b6816583451e41d9e6a97fe97ef366b0539828 Mon Sep 17 00:00:00 2001 From: ko1 Date: Thu, 20 Jun 2013 09:00:41 +0000 Subject: * benchmark/gc/gcbench.rb: stop GC::Profiler before output results. Generating GC::Profiler result under profiling causes infinite loop. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- benchmark/gc/gcbench.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'benchmark') diff --git a/benchmark/gc/gcbench.rb b/benchmark/gc/gcbench.rb index dc1c5e2ded..aa92f0827d 100644 --- a/benchmark/gc/gcbench.rb +++ b/benchmark/gc/gcbench.rb @@ -12,6 +12,7 @@ GC::Profiler.enable tms = Benchmark.measure{|x| load script } +GC::Profiler.disable GC::Profiler.report pp GC.stat -- cgit v1.2.3