summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm1_length.rb
blob: 353de3ab0ec4a84e539e30f348bb38dbe94809fa (plain)
1
2
3
4
5
6
7
8
9
a = 'abc'
b = [1, 2, 3]
i = 0
while i<30_000_000 # while loop 1
  i += 1
  a.length
  b.length
end