diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-10 00:57:10 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-10 00:57:10 +0000 |
commit | 3db5e76e50f1acd979c0f40cd139e224f0ac6af3 (patch) | |
tree | ddb0ba849da5cf460d6081ac9acb6c98445fff30 /benchmark/bm_vm1_not.rb | |
parent | 126e7ed66febc5f20bf8d2e259b24c8f37b78621 (diff) | |
download | ruby-3db5e76e50f1acd979c0f40cd139e224f0ac6af3.tar.gz |
* benchmark/bm_vm1_neq.rb, bm_vm1_not.rb: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark/bm_vm1_not.rb')
-rw-r--r-- | benchmark/bm_vm1_not.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/benchmark/bm_vm1_not.rb b/benchmark/bm_vm1_not.rb new file mode 100644 index 0000000000..bd75a0863e --- /dev/null +++ b/benchmark/bm_vm1_not.rb @@ -0,0 +1,7 @@ +i = 0
+obj = Object.new
+
+while i<30000000 # while loop 1
+ i+= 1
+ !obj
+end
|