4 ms·
For bash:
alias make="nice make -j $(grep 'processor' /proc/cpuinfo | wc -l)"
For bash:
alias make="nice make -j $(grep 'processor' /proc/cpuinfo | wc -l)"
make -l (--load-average) will throttle the number of make jobs, so you can specify a big -j to have many ready jobs but ensure you don't exceed run more than your number of CPUs.
> grep 'processor' /proc/cpuinfo | wc -l
or use "grep -c" instead of piping through wc