summaryrefslogtreecommitdiff
path: root/benchmark/vm_fiber_count.yml
blob: b83d3152d478369255f0b7eaea7bd45b817f2391 (plain)
1
2
3
4
5
6
7
8
9
10
# On Linux, you will need to increase the maximum number of memory maps:
# sudo sysctl -w vm.max_map_count=200000
prelude: |
  fibers = []
benchmark:
  vm_fiber_count: |
    fiber = Fiber.new{Fiber.yield}
    fibers << fiber
    fiber.resume
loop_count: 100000