summaryrefslogtreecommitdiff
path: root/benchmark/vm_ensure.yml
blob: 4ea62f30defb9f03bba2209d17523bca79228c26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Not utilizing loop_count since using it for this is too unstable for now
benchmark:
  vm_ensure: |
    i = 0
    while i<30_000_000
      i += 1
      begin
        begin
        ensure
        end
      ensure
      end
    end
loop_count: 1