1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/benchmark/vm1_ensure.yml
k0kubun 1aedeaa476 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
2018-07-08 16:46:49 +00:00

14 lines
246 B
YAML

# 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
end
loop_count: 1