diff options
Diffstat (limited to 'benchmark/bm_io_select2.rb')
-rw-r--r-- | benchmark/bm_io_select2.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/bm_io_select2.rb b/benchmark/bm_io_select2.rb index a4925b5100..7b167af774 100644 --- a/benchmark/bm_io_select2.rb +++ b/benchmark/bm_io_select2.rb @@ -5,7 +5,7 @@ nr = 1000000 max = Process.getrlimit(Process::RLIMIT_NOFILE)[0] puts "max fd: #{max} (results not apparent with <= 1024 max fd)" -((max / 2) - 2).times do +((max / 2) - 10).times do ios.concat IO.pipe end |