From 7796c7d75188ba20aa7f8fb0222f0d26fae7a27d Mon Sep 17 00:00:00 2001 From: ko1 Date: Sun, 27 May 2012 14:41:01 +0000 Subject: * benchmark/bm_vm1_lvar_init.rb: added. This benchmark measures a initialize time of non-used variable. * benchmark/bm_vm1_lvar_set.rb: added. This benchmark measures a local variables initialization time. * benchmark/bm_vm2_bigarray.rb: added. This benchmark mesures a big array literal creation time. * benchmark/bm_vm2_bighash.rb: This benchmark mesures a big hash literal creation time. * benchmark/bm*: change notation "i=0" to "i = 0". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- benchmark/bm_vm_thread_pass_flood.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'benchmark/bm_vm_thread_pass_flood.rb') diff --git a/benchmark/bm_vm_thread_pass_flood.rb b/benchmark/bm_vm_thread_pass_flood.rb index 56b5b0a956..27157d1a6f 100644 --- a/benchmark/bm_vm_thread_pass_flood.rb +++ b/benchmark/bm_vm_thread_pass_flood.rb @@ -2,7 +2,7 @@ Thread.new{loop{Thread.pass}} } -i=0 +i = 0 while i<10000 i += 1 end -- cgit v1.2.3