Three Monkeys, Three Typewriters, Two Days

October 7, 2005

Profiling of script access to the DOM

I spent some time today profiling some "access lots of DOM objects" testcases. Filed a few bugs, but even with those accounted for we're slow. Probably 20-30% slower than Opera 8 (without the bugs being addressed it's a lot worse). Worse yet, there's nothing obvious to point at; just death by thousands of paper cuts. Here's hoping that we can at least reduce the amount of locking and such XPConnect does so that the common case (DOM, UI thread) will be a little faster...

Posted by bzbarsky at October 7, 2005 8:54 PM
Comments

Is this because most time spent in Gecko is bug fixing and implementing new features rather than optimizing the existing back-end ?

I mean, one of Opera's goals is to be "the fastest browser on earth", so I bet they do performance audits and such pretty often.

Posted by: Caleb on October 7, 2005 11:20 PM

I'm not going to make any generalizations like that, especially because I have no idea how Opera development actually happens.

Posted by: Boris on October 7, 2005 11:23 PM

Will you be marking any of these bugs to block 1.5?

Posted by: Ian on October 8, 2005 11:14 AM

They're not blocking anything. They're nice to haves for Gecko 1.9, though.

Posted by: Boris on October 8, 2005 11:28 AM
Post a comment