Created
April 23, 2019 10:48
-
-
Save cocodrips/7d269ec470004f228d4c6cb6c9d709f4 to your computer and use it in GitHub Desktop.
test -j option
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
work: w1 w2 w3 | |
w1: | |
sleep 5 | |
w2: | |
sleep 6 | |
w3: | |
sleep 7 |
$ time make -j3 work
sleep 5
sleep 6
sleep 7
make -j3 work 0.01s user 0.01s system 0% cpu 7.035 total
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$ time make work sleep 5 sleep 6 sleep 7 make work 0.01s user 0.01s system 0% cpu 18.067 total