mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* benchmark/bm_vm1_neq.rb, bm_vm1_not.rb: prop set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3db5e76e50
commit
b7090e3673
2 changed files with 15 additions and 15 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue