summaryrefslogtreecommitdiff
path: root/benchmark/vm1_yield.yml
blob: ae1f9316f9de534c37cc463907a194f987844ae9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# while loop cost is not removed due to benchmark_driver.gem's limitation
benchmark:
  vm1_yield: |
    def m
      i = 0
      while i<30_000_000
        i += 1
        yield
      end
    end

    m{}
loop_count: 1