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:
parent
b065141050
commit
1228d134dd
4 changed files with 20 additions and 0 deletions
|
@ -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
|
||||
|
|
4
benchmark/bm_vm3_gc_old_full.rb
Normal file
4
benchmark/bm_vm3_gc_old_full.rb
Normal file
|
@ -0,0 +1,4 @@
|
|||
old_object = Array.new(1_000_000){''}
|
||||
100.times do
|
||||
GC.start
|
||||
end
|
4
benchmark/bm_vm3_gc_old_immediate.rb
Normal file
4
benchmark/bm_vm3_gc_old_immediate.rb
Normal 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
|
4
benchmark/bm_vm3_gc_old_lazy.rb
Normal file
4
benchmark/bm_vm3_gc_old_lazy.rb
Normal 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
|
Loading…
Reference in a new issue