summaryrefslogtreecommitdiffstats
path: root/benchmark
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-10 00:59:04 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-10 00:59:04 +0000
commit2dde5882261ed191506bdc5e629b014f3a313149 (patch)
tree50ca7f6e209bc814660a3c0336d50d44ed8b938c /benchmark
parentc55cd99068aee29bc44dddc5e3e39a8f472c1822 (diff)
downloadruby-2dde5882261ed191506bdc5e629b014f3a313149.tar.gz
ruby-2dde5882261ed191506bdc5e629b014f3a313149.tar.xz
ruby-2dde5882261ed191506bdc5e629b014f3a313149.zip
* benchmark/bm_vm1_neq.rb, bm_vm1_not.rb: prop set.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/bm_vm1_neq.rb16
-rw-r--r--benchmark/bm_vm1_not.rb14
2 files changed, 15 insertions, 15 deletions
diff --git a/benchmark/bm_vm1_neq.rb b/benchmark/bm_vm1_neq.rb
index 9af53a245..212f056c6 100644
--- a/benchmark/bm_vm1_neq.rb
+++ b/benchmark/bm_vm1_neq.rb
@@ -1,8 +1,8 @@
-i = 0
-obj1 = Object.new
-obj2 = Object.new
-
-while i<30000000 # while loop 1
- i+= 1
- obj1 != obj2
-end
+i = 0
+obj1 = Object.new
+obj2 = Object.new
+
+while i<30000000 # while loop 1
+ i+= 1
+ obj1 != obj2
+end
diff --git a/benchmark/bm_vm1_not.rb b/benchmark/bm_vm1_not.rb
index bd75a0863..f139fed8b 100644
--- a/benchmark/bm_vm1_not.rb
+++ b/benchmark/bm_vm1_not.rb
@@ -1,7 +1,7 @@
-i = 0
-obj = Object.new
-
-while i<30000000 # while loop 1
- i+= 1
- !obj
-end
+i = 0
+obj = Object.new
+
+while i<30000000 # while loop 1
+ i+= 1
+ !obj
+end