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