summaryrefslogtreecommitdiff
path: root/benchmark/vm1_simplereturn.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/vm1_simplereturn.yml')
-rw-r--r--benchmark/vm1_simplereturn.yml18
1 files changed, 8 insertions, 10 deletions
diff --git a/benchmark/vm1_simplereturn.yml b/benchmark/vm1_simplereturn.yml
index cfe1f74..32fcc02 100644
--- a/benchmark/vm1_simplereturn.yml
+++ b/benchmark/vm1_simplereturn.yml
@@ -1,11 +1,9 @@
+prelude: |
+ def m
+ return 1
+ end
benchmark:
- vm1_simplereturn: |
- def m
- return 1
- end
- i = 0
- while i<30_000_000 # while loop 1
- i += 1
- m
- end
-loop_count: 1
+ vm1_simplereturn: 'm
+
+'
+loop_count: 30000000