mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
benchmark/vm1_ensure.yml: rollback loop_count abstraction
for now. When measured script is really too fast, while loop substituion may return a negative benchmark result. Probably benchmark_driver.gem has rooms to be improved about this. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
94e55bbd37
commit
1aedeaa476
1 changed files with 8 additions and 3 deletions
|
@ -1,9 +1,14 @@
|
|||
# Not utilizing loop_count since using it for this is too unstable for now
|
||||
benchmark:
|
||||
vm1_ensure: |
|
||||
i = 0
|
||||
while i<30_000_000
|
||||
i += 1
|
||||
begin
|
||||
begin
|
||||
ensure
|
||||
end
|
||||
ensure
|
||||
end
|
||||
loop_count: 30000000
|
||||
end
|
||||
loop_count: 1
|
||||
|
|
Loading…
Reference in a new issue