summaryrefslogtreecommitdiff
path: root/jni/ruby/benchmark/bm_vm1_ensure.rb
blob: a1596145f2f32a0602d59bbd1ec0176afe2bed65 (plain)
1
2
3
4
5
6
7
8
9
10
11
i = 0
while i<30_000_000 # benchmark loop 1
  i += 1
  begin
    begin
    ensure
    end
  ensure
  end
end