summaryrefslogtreecommitdiff
path: root/benchmark/io_select.yml
blob: bcea6b9a700be4a42b8891b5655da8451f1f038e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
prelude: |
  # IO.select performance
benchmark:
  io_select: |

    w = [ IO.pipe[1] ];

    nr = 1000000
    nr.times {
      IO.select nil, w
    }
loop_count: 1