1# Plenty Thtread.pass
2# A performance may depend on GVL implementation.
3
4tmax = (ARGV.shift || 2).to_i
5lmax = 200_000 / tmax
6
7(1..tmax).map{
8  Thread.new{
9    lmax.times{
10      Thread.pass
11    }
12  }
13}.each{|t| t.join}
14
15
16