summaryrefslogtreecommitdiff
path: root/benchmark/vm1_yield.yml
blob: b67ebb4d9530ee1c7786a940806162f00cf44dbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
benchmark:
  vm1_yield: |
    def m
      i = 0
      while i<30_000_000 # while loop 1
        i += 1
        yield
      end
    end

    m{}
loop_count: 1