Technology news and Jobs
The Linux distillery
Make Firefox fly: building from a minefield of source
The Linux distillery
Make Firefox fly: building from a minefield of source | Make Firefox fly: building from a minefield of source |
|
| by David M Williams | |
| Monday, 30 June 2008 | |
|
Page 3 of 5 So! How big is this running Firefox, then? It's time to find out. Let's probe a little by running some commands.[david@dmw firefox-3.0]$ ls -s firefox 48 firefox [david@dmw firefox-3.0]$ ps -lmp 4939 F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD 0 - 500 4939 4205 0 - 0 - 43297 - pts/1 00:00:02 firefox 0 S 500 - - 0 80 0 - - sys_po - 00:00:02 - 1 S 500 - - - 80 0 - - futex_ - 00:00:00 - 1 S 500 - - - 80 0 - - futex_ - 00:00:00 - 1 S 500 - - - 80 0 - - futex_ - 00:00:00 - 1 S 500 - - - 80 0 - - futex_ - 00:00:00 - This information tells us the following.
If you switch back to Firefox and begin loading web pages, performing activity as usual, and re-run the ps command periodically you will find the CPU utilisation and accumulated CPU time going up. Depending on what you do and what else is running the priority may also fluctuate. Let's now experiment with building it ourself. You can download the Firefox source code from Mozilla's FTP site. At the time of writing, the last modified version was 17-June-2008 9:35am and was 36,144KB in size. CONTINUED |
| < Next story in category | Previous story in the category > |
|---|








