aboutsummaryrefslogtreecommitdiffstats
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.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/benchmark/vm1_float_simple.yml b/benchmark/vm1_float_simple.yml
new file mode 100644
index 0000000000..a99f968457
--- /dev/null
+++ b/benchmark/vm1_float_simple.yml
@@ -0,0 +1,10 @@
+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