summaryrefslogtreecommitdiff
path: root/benchmark/loop_whileloop2.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/loop_whileloop2.yml')
-rw-r--r--benchmark/loop_whileloop2.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/benchmark/loop_whileloop2.yml b/benchmark/loop_whileloop2.yml
new file mode 100644
index 0000000..2cf8390
--- /dev/null
+++ b/benchmark/loop_whileloop2.yml
@@ -0,0 +1,7 @@
+benchmark:
+ loop_whileloop2: |
+ i = 0
+ while i< 6_000_000 # benchmark loop 2
+ i += 1
+ end
+loop_count: 1