summaryrefslogtreecommitdiff
path: root/benchmark/vm_raise1.yml
blob: 247d9f70ee633c60ce6e3784ab3308b597f8a159 (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_raise1: |
    begin
      rec 1
    rescue
      # ignore
    end
loop_count: 6000000