summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm1_length.rb
blob: ccb773278fd00f03e8efe288cfe572947ba283c9 (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