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.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/benchmark/vm1_blockparam_call.yml b/benchmark/vm1_blockparam_call.yml
new file mode 100644
index 0000000000..445ac5150d
--- /dev/null
+++ b/benchmark/vm1_blockparam_call.yml
@@ -0,0 +1,12 @@
+benchmark:
+ vm1_blockparam_call: |
+ def m &b
+ b.call
+ end
+
+ i = 0
+ while i<30_000_000 # while loop 1
+ i += 1
+ m{}
+ end
+loop_count: 1