Picon
Favicon

Re: Window opening performance

Boris Zbarsky wrote:
> Gavin also asked me to look into what bindings are the most used.  At 
> startup we seem to have 285 attempts to attach bindings.  This only 
> counts the "most-derived" bindings; if binding A inherits from binding B 
> and we have two nodes, one with binding A attached and one with binding 
> B attached, that gives us two bindings.
> 
> These 285 attempts load 63 distinct bindings, with the following counts:
> 
> 64 chrome://global/content/bindings/text.xml#text-label
> 53 chrome://global/content/bindings/general.xml#image
> 19 chrome://global/content/bindings/popup.xml#popup
> 16 chrome://global/content/bindings/menu.xml#menuitem

../..

Boris, how did you get this list?

--

-- 
Michael Vincent van Rantwijk
- MultiZilla Project Team Lead
- XUL Boot Camp Staff member
- iPhone Application Developer
Boris Zbarsky | 19 Aug 2007 17:00
Picon
Favicon

Re: Window opening performance

Michael Vincent van Rantwijk, MultiZilla wrote:
> Boris, how did you get this list?

Applied the attached patch, then ran the following commands on the output log:

grep "Binding load:" ~/log.txt | sed 's/Binding load: //' | sort | uniq -c | 
sort -n -r

-Boris
_______________________________________________
dev-performance mailing list
dev-performance <at> lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-performance

Gmane