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