50% faster scripts on Linux

Noticed this checkin comment in todays bonsai:
Don't reset the notification timer on every parse start/stop. This speeds up flurries of little document.write calls a good bit.

From the bug's comment:
This should keep behavior on "normal" pages about the same, but keep us from thrashing the timers. It makes us about 50% faster on those testcases on Linux (so about 1.5-2 times slower than Opera).

See the bug

Again this is what makes Mozilla such a great project and a worldclass browser. You see improvements all the times. It simple just keeps getting better, smaller and faster. Hopefully the world will realize this soon. But we have to tell them!


May 13, 2004 09:50 AM | Posted in Mozilla

Ads:

Back Next

3 Comments

Don't want to spoil your fun, but.. you say it yourself ("so about 1.5-2 times slower than Opera") ;) So, eventhough this "makes Mozilla such a great project and a worldclass browser", there are even better alternatives.

Site icon Comment by rADo at May 15, 2004 04:01 AM | Permalink

Don't want to spoil your fun, but.. you say it yourself ("so about 1.5-2 times slower than Opera") ;) So, eventhough this "makes Mozilla such a great project and a worldclass browser", there are even better alternatives.

Site icon Comment by rADo at May 15, 2004 04:04 AM | Permalink

Well, I've tested it a bit with this script thingy:
var x=Date.now();
for (i=0; iline number " + i + "");}
var y=Date.now();
var z=y-x;
alert(z);

With Mozilla 1.7RC2 I get appr. 4900 ms.
With Mozilla 1.8 alpha I get appr. 2200 ms.
On windowsXP. Duron600MHz. 1GB memory.

So this is great progress and a great job from Boris. Let's all go back and use that good old document.write again :)

Comment by Martijn at May 22, 2004 12:11 AM | Permalink

Post a comment




Remember Me?




Please enter the security code you see here

.
You're here: Home - 50% faster scripts on Linux
Get the Mozilla Firefox browser