Brendan Eich wrote:
> 
> > It doesn't count the time spent opening and compiling each .js file which
> > seems to be a major drawback (would we speed things up by combining .js
> > files? Can't tell). Any idea where a good place to add a hook for that would
> > be?
> 
> FYI, XUL JS is compiled at load time (startup or first new window for a
> given XUL application), and never recompiled.  So for profiling
> operations such as deleting 30 selected mail messages, compile time is 0.

True, but one of our sore points is sluggishness opening new chrome windows
and dialogs -- compile time might be a factor there. Or maybe not, and then
we'd have numbers to prove it to each new person who comes up with the
bright idea that js compile time is part of the problem.

-Dan Veditz

Reply via email to