summaryrefslogtreecommitdiff
path: root/benchmark/vm1_blockparam_call.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/vm1_blockparam_call.yml')
-rw-r--r--benchmark/vm1_blockparam_call.yml17
1 files changed, 7 insertions, 10 deletions
diff --git a/benchmark/vm1_blockparam_call.yml b/benchmark/vm1_blockparam_call.yml
index 445ac51..ca43aaf 100644
--- a/benchmark/vm1_blockparam_call.yml
+++ b/benchmark/vm1_blockparam_call.yml
@@ -1,12 +1,9 @@
+prelude: |
+ def m &b
+ b.call
+ end
benchmark:
- vm1_blockparam_call: |
- def m &b
- b.call
- end
+ vm1_blockparam_call: 'm{}
- i = 0
- while i<30_000_000 # while loop 1
- i += 1
- m{}
- end
-loop_count: 1
+'
+loop_count: 30000000