summaryrefslogtreecommitdiff
path: root/benchmark/vm2_fiber_allocate.yml
blob: f29705f6942015fe647534102ce35f4364367c12 (plain)
1
2
3
4
5
6
7
8
prelude: |
  # Disable GC to see raw throughput:
  GC.disable
benchmark:
  vm2_fiber_allocate: |
    fiber = Fiber.new{Fiber.yield}
    fiber.resume
loop_count: 100000