GNU make 的并行程度对编译速度的影响

|

i5-3337U(双核四线程),Ubuntu 16.04 上进行的测试。

  make -j2 -j3 -j4 -j5 -j6
iperf 3.7 15.4s 8.9s 7.4s 6.7s 7.0s 6.8s
xz 5.2.4 25.8s 17.4s 13.9s 12.8s 12.9s 12.9s
perl 5.30.0 3m25.4s 2m7.2s 1m59.7s 1m54.2s 1m59.5s 2m1.5s