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