summaryrefslogtreecommitdiff
path: root/jni/ruby/benchmark/bm_vm1_const.rb
blob: ac59ebccf1eabe824e1f2c0964269f42bf273a60 (plain)
1
2
3
4
5
6
7
8
Const = 1

i = 0
while i<30_000_000 # while loop 1
  i += 1
  j = Const
  k = Const
end