Skip to content

Commit

Permalink
* benchmark/gc/gcbench.rb: stop GC::Profiler before output results.
Browse files Browse the repository at this point in the history
  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
  • Loading branch information
ko1 committed Jun 20, 2013
1 parent 1db64a2 commit 07b6816
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions benchmark/gc/gcbench.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
tms = Benchmark.measure{|x|
load script
}
GC::Profiler.disable
GC::Profiler.report
pp GC.stat

Expand Down

0 comments on commit 07b6816

Please sign in to comment.