summaryrefslogtreecommitdiff
path: root/benchmark/vm1_float_simple.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/vm1_float_simple.yml')
-rw-r--r--benchmark/vm1_float_simple.yml14
1 files changed, 6 insertions, 8 deletions
diff --git a/benchmark/vm1_float_simple.yml b/benchmark/vm1_float_simple.yml
index a99f968..4e9ad18 100644
--- a/benchmark/vm1_float_simple.yml
+++ b/benchmark/vm1_float_simple.yml
@@ -1,10 +1,8 @@
+prelude: |
+ f = 0.0
benchmark:
vm1_float_simple: |
- i = 0.0; f = 0.0
- while i<30_000_000
- i += 1
- f += 0.1; f -= 0.1
- f += 0.1; f -= 0.1
- f += 0.1; f -= 0.1
- end
-loop_count: 1
+ f += 0.1; f -= 0.1
+ f += 0.1; f -= 0.1
+ f += 0.1; f -= 0.1
+loop_count: 30000000