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