зеркало из https://github.com/github/ruby.git
* 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
This commit is contained in:
Родитель
1db64a2035
Коммит
07b6816583
|
@ -1,3 +1,8 @@
|
|||
Thu Jun 20 17:59:08 2013 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* benchmark/gc/gcbench.rb: stop GC::Profiler before output results.
|
||||
Generating GC::Profiler result under profiling causes infinite loop.
|
||||
|
||||
Thu Jun 20 17:24:24 2013 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* benchmark/gc/gcbench.rb: don't use __dir__ to make compatible
|
||||
|
|
|
@ -12,6 +12,7 @@ GC::Profiler.enable
|
|||
tms = Benchmark.measure{|x|
|
||||
load script
|
||||
}
|
||||
GC::Profiler.disable
|
||||
GC::Profiler.report
|
||||
pp GC.stat
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче