summaryrefslogtreecommitdiff
path: root/benchmark/vm_raise2.yml
blob: f0fa047b3c8b6531b27748278b41285b3fe67cad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
prelude: |
  def rec n
    if n > 0
      rec n-1
    else
      raise
    end
  end
benchmark:
  vm_raise2: |
    begin
      rec 10
    rescue
      # ignore
    end
loop_count: 6000000