% Time spent in each stage of layout

 
URL Parsing Content Creation Reflow Style Resolution Frame Construction Total time spent in layout (as a % of the time elapsed between the start the end of the URL load in the webshell)
www.aol.com 12% 11% 21% 24% 11% 81%
www.excite.com 16% 11% 24% 32% 8% 90%
www.ebay.com 15% 10% 25% 21% 8% 79%
tinderbox 12% 16% 17% 20% 13% 78%
www.altavista.com 12% 8% 24% 28% 7% 80%
www.mozilla.org 9% 11% 25% 20% 13% 78%
85k text document 5% 0% 70% 5% 5% 84%
             
Average: 12% 10% 29% 22% 9% 81%
  • All files were cached on the local disk. An optimized build of viewer created on 10/16/99 was used.
  • Each pecentage is based on an average number gotten from 3 measurement attempts.
  • GFX widgets were turned OFF.
  • The machine on which these measurements were taken was an NT 4.0 box with 128 MB RAM and 450 MHz CPU.

  • The raw data used to generate these percentages is available here.  You can generate this data by setting MOZ_PERF=1 in your environment and re-building the following directories: mozilla/modules/libutil, mozilla/layout, mozilla/htmlparser, and mozilla/webshell.  This currently works on Windows only.  I'm going to try to get this working on Unix by today.

Last Updated on 10/18/99
By Nisheeth Ranjan
Email: nisheeth_mozilla@yahoo.com