summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm2_array.rb
blob: df9037c83ce3c5afd8094bb785161ea28942d469 (plain)
1
2
3
4
5
i = 0
while i<6_000_000 # benchmark loop 2
  i += 1
  a = [1,2,3,4,5,6,7,8,9,10]
end