diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-08 16:46:49 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-08 16:46:49 +0000 |
commit | 1aedeaa476a073d81d0539f66cfb4f6363b6766a (patch) | |
tree | 769f8580ee040427d0fe13dcfdaf2dafca06fbca /benchmark/vm1_ensure.yml | |
parent | 94e55bbd37ea08e7bf1c7d704be753da621476df (diff) | |
download | ruby-1aedeaa476a073d81d0539f66cfb4f6363b6766a.tar.gz |
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
Diffstat (limited to 'benchmark/vm1_ensure.yml')
-rw-r--r-- | benchmark/vm1_ensure.yml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/benchmark/vm1_ensure.yml b/benchmark/vm1_ensure.yml index 24229adf56..afbbe38bec 100644 --- a/benchmark/vm1_ensure.yml +++ b/benchmark/vm1_ensure.yml @@ -1,9 +1,14 @@ +# Not utilizing loop_count since using it for this is too unstable for now benchmark: vm1_ensure: | - begin + i = 0 + while i<30_000_000 + i += 1 begin + begin + ensure + end ensure end - ensure end -loop_count: 30000000 +loop_count: 1 |