summaryrefslogtreecommitdiff
path: root/benchmark/vm1_block.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/vm1_block.yml')
-rw-r--r--benchmark/vm1_block.yml18
1 files changed, 7 insertions, 11 deletions
diff --git a/benchmark/vm1_block.yml b/benchmark/vm1_block.yml
index 6e60f14..ac7c940 100644
--- a/benchmark/vm1_block.yml
+++ b/benchmark/vm1_block.yml
@@ -1,13 +1,9 @@
+prelude: |
+ def m
+ yield
+ end
benchmark:
vm1_block: |
- def m
- yield
- end
-
- i = 0
- while i<30_000_000 # while loop 1
- i += 1
- m{
- }
- end
-loop_count: 1
+ m{
+ }
+loop_count: 30000000