summaryrefslogtreecommitdiff
path: root/benchmark/bm_loop_whileloop2.rb
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/bm_loop_whileloop2.rb')
-rw-r--r--benchmark/bm_loop_whileloop2.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/bm_loop_whileloop2.rb b/benchmark/bm_loop_whileloop2.rb
index e514989661..e5723272b6 100644
--- a/benchmark/bm_loop_whileloop2.rb
+++ b/benchmark/bm_loop_whileloop2.rb
@@ -1,4 +1,4 @@
-i=0
+i = 0
while i< 6_000_000 # benchmark loop 2
i+=1
end