summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-08 16:46:49 (GMT)
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-08 16:46:49 (GMT)
commit1aedeaa476a073d81d0539f66cfb4f6363b6766a (patch)
tree769f8580ee040427d0fe13dcfdaf2dafca06fbca /benchmark
parent94e55bbd37ea08e7bf1c7d704be753da621476df (diff)
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')
-rw-r--r--benchmark/vm1_ensure.yml11
1 files changed, 8 insertions, 3 deletions
diff --git a/benchmark/vm1_ensure.yml b/benchmark/vm1_ensure.yml
index 24229ad..afbbe38 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