summaryrefslogtreecommitdiff
path: root/benchmark/vm1_neq.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/vm1_neq.yml')
-rw-r--r--benchmark/vm1_neq.yml14
1 files changed, 5 insertions, 9 deletions
diff --git a/benchmark/vm1_neq.yml b/benchmark/vm1_neq.yml
index 8ce480cbf4..65a8128dda 100644
--- a/benchmark/vm1_neq.yml
+++ b/benchmark/vm1_neq.yml
@@ -1,11 +1,7 @@
+prelude: |
+ obj1 = Object.new
+ obj2 = Object.new
benchmark:
vm1_neq: |
- i = 0
- obj1 = Object.new
- obj2 = Object.new
-
- while i<30_000_000 # while loop 1
- i += 1
- obj1 != obj2
- end
-loop_count: 1
+ obj1 != obj2
+loop_count: 30000000