summaryrefslogtreecommitdiff
path: root/benchmark/vm_blockparam_pass.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/vm_blockparam_pass.yml')
-rw-r--r--benchmark/vm_blockparam_pass.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/benchmark/vm_blockparam_pass.yml b/benchmark/vm_blockparam_pass.yml
new file mode 100644
index 0000000000..841f5e7a63
--- /dev/null
+++ b/benchmark/vm_blockparam_pass.yml
@@ -0,0 +1,12 @@
+prelude: |
+ def bp_yield
+ yield
+ end
+
+ def bp_pass &b
+ bp_yield &b
+ end
+benchmark:
+ vm_blockparam_pass: |
+ bp_pass{}
+loop_count: 30000000