PageRenderTime 12ms CodeModel.GetById 9ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/bench/bm_vm2_array.rb

http://github.com/feyeleanor/RubyGoLightly
Ruby | 5 lines | 5 code | 0 blank | 0 comment | 1 complexity | 9c671f1327c8236ad0724ec9df5d06d0 MD5 | raw file
1i=0
2while i<6000000 # benchmark loop 2
3  i = i + 1
4  a = [1,2,3,4,5,6,7,8,9,10]
5end