Wednesday, January 27, 2010

High from Higher Speeds

Mid week task.

One thing I quickly discovered; that compiling using make takes forever. I mean depending on the build, but anything bigger than a text editor demands a coffee break and throw graphics (GUI apps) into the mix and you will need to go for lunch.

To speed up the process make can run parallels processes. This is done by using the -j# option after make. I tried default, j4, j6 on source code of nano.

time make -j6

The fastest time was achived by j6. Lesson learned; use -j option to avoid caffeine addiction.

No comments:

Post a Comment