Skip to content

Instantly share code, notes, and snippets.

@rvagg
Created February 11, 2013 00:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rvagg/4751685 to your computer and use it in GitHub Desktop.
Save rvagg/4751685 to your computer and use it in GitHub Desktop.
node make -j X

Node master, 4 core CPU with plenty of RAM.

$ make clean >& /dev/null; ./configure >& /dev/null ; date; make -j 4 >& /dev/null; date; make clean >& /dev/null; ./configure >& /dev/null; date; make -j 25 >& /dev/null; date
Mon Feb 11 11:21:11 EST 2013
Mon Feb 11 11:22:58 EST 2013
Mon Feb 11 11:22:59 EST 2013
Mon Feb 11 11:24:23 EST 2013
  • make -j4: 21:11 -> 22:58 = 107 seconds
  • make -j25: 22:59 -> 24:23 = 84 seconds
@rvagg
Copy link
Author

rvagg commented Feb 11, 2013

$ make distclean >& /dev/null; ./configure >& /dev/null ; date; make -j 4 >& /dev/null; date; make distclean >& /dev/null; ./configure >& /dev/null; date; make -j 25 >& /dev/null; date
Mon Feb 11 11:33:41 EST 2013
Mon Feb 11 11:35:29 EST 2013
Mon Feb 11 11:35:30 EST 2013
Mon Feb 11 11:36:56 EST 2013
  • make -j4: 33:41 -> 35:29 = 108 seconds
  • make -j25: 22:59 -> 24:23 = 86 seconds

@rvagg
Copy link
Author

rvagg commented Feb 11, 2013

make -j1000 just for fun

$ make distclean >& /dev/null; ./configure >& /dev/null ; date; make -j 4 >& /dev/null; date; make distclean >& /dev/null; ./configure >& /dev/null; date; make -j 10000 >& /dev/null; date
Mon Feb 11 11:39:11 EST 2013
Mon Feb 11 11:40:58 EST 2013
Mon Feb 11 11:40:58 EST 2013
Mon Feb 11 11:42:25 EST 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment