summaryrefslogtreecommitdiff
path: root/benchmark/vm2_fiber_count.yml
blob: 3ecf6bdcb2891b03bc1ceaed28b98f307752987c (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:
  vm2_fiber_count: |
    fiber = Fiber.new{Fiber.yield}
    fibers << fiber
    fiber.resume
loop_count: 100000