1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* benchmark/bm_vm3_gc_old_full.rb: add GC.start benchmark.

* benchmark/bm_vm3_gc_old_immediate.rb: ditto.

* benchmark/bm_vm3_gc_old_lazy.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2016-03-09 06:05:53 +00:00
parent b065141050
commit 1228d134dd
4 changed files with 20 additions and 0 deletions

View file

@ -1,3 +1,11 @@
Wed Mar 9 15:04:22 2016 Koichi Sasada <ko1@atdot.net>
* benchmark/bm_vm3_gc_old_full.rb: add GC.start benchmark.
* benchmark/bm_vm3_gc_old_immediate.rb: ditto.
* benchmark/bm_vm3_gc_old_lazy.rb: ditto.
Wed Mar 9 14:59:11 2016 Koichi Sasada <ko1@atdot.net>
* benchmark/driver.rb: exit benchmarking if a benchmark process

View file

@ -0,0 +1,4 @@
old_object = Array.new(1_000_000){''}
100.times do
GC.start
end

View file

@ -0,0 +1,4 @@
old_object = Array.new(1_000_000){''}
30_000.times do
GC.start(full_mark: false, immediate_sweep: true)
end

View file

@ -0,0 +1,4 @@
old_object = Array.new(1_000_000){''}
30_000.times do
GC.start(full_mark: false, immediate_sweep: false)
end