ruby-changes:41979
From: ko1 <ko1@a...>
Date: Wed, 9 Mar 2016 15:05:58 +0900 (JST)
Subject: [ruby-changes:41979] ko1:r54053 (trunk): * benchmark/bm_vm3_gc_old_full.rb: add GC.start benchmark.
ko1 2016-03-09 15:05:53 +0900 (Wed, 09 Mar 2016) New Revision: 54053 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54053 Log: * 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. Added files: trunk/benchmark/bm_vm3_gc_old_full.rb trunk/benchmark/bm_vm3_gc_old_immediate.rb trunk/benchmark/bm_vm3_gc_old_lazy.rb Modified files: trunk/ChangeLog Index: ChangeLog =================================================================== --- ChangeLog (revision 54052) +++ ChangeLog (revision 54053) @@ -1,3 +1,11 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Mar 9 15:04:22 2016 Koichi Sasada <ko1@a...> + + * 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@a...> * benchmark/driver.rb: exit benchmarking if a benchmark process Index: benchmark/bm_vm3_gc_old_lazy.rb =================================================================== --- benchmark/bm_vm3_gc_old_lazy.rb (revision 0) +++ benchmark/bm_vm3_gc_old_lazy.rb (revision 54053) @@ -0,0 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/benchmark/bm_vm3_gc_old_lazy.rb#L1 +old_object = Array.new(1_000_000){''} +30_000.times do + GC.start(full_mark: false, immediate_sweep: false) +end Index: benchmark/bm_vm3_gc_old_full.rb =================================================================== --- benchmark/bm_vm3_gc_old_full.rb (revision 0) +++ benchmark/bm_vm3_gc_old_full.rb (revision 54053) @@ -0,0 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/benchmark/bm_vm3_gc_old_full.rb#L1 +old_object = Array.new(1_000_000){''} +100.times do + GC.start +end Index: benchmark/bm_vm3_gc_old_immediate.rb =================================================================== --- benchmark/bm_vm3_gc_old_immediate.rb (revision 0) +++ benchmark/bm_vm3_gc_old_immediate.rb (revision 54053) @@ -0,0 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/benchmark/bm_vm3_gc_old_immediate.rb#L1 +old_object = Array.new(1_000_000){''} +30_000.times do + GC.start(full_mark: false, immediate_sweep: true) +end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/