summaryrefslogtreecommitdiff
path: root/benchmark/vm1_length.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/vm1_length.yml')
-rw-r--r--benchmark/vm1_length.yml15
1 files changed, 6 insertions, 9 deletions
diff --git a/benchmark/vm1_length.yml b/benchmark/vm1_length.yml
index 030b6c5..a18e2ca 100644
--- a/benchmark/vm1_length.yml
+++ b/benchmark/vm1_length.yml
@@ -1,11 +1,8 @@
+prelude: |
+ a = 'abc'
+ b = [1, 2, 3]
benchmark:
vm1_length: |
- a = 'abc'
- b = [1, 2, 3]
- i = 0
- while i<30_000_000 # while loop 1
- i += 1
- a.length
- b.length
- end
-loop_count: 1
+ a.length
+ b.length
+loop_count: 30000000