Browsing speed improvement

Discussion of features in Mozilla Firefox
User avatar
Pascal
Posts: 32
Joined: November 5th, 2002, 9:11 am
Location: France

Reply to all

Post by Pascal »

All,

Thanks for your helpful - at least for some of them - answers.

Regards,

Pascal
:)
hiTCH-HiKER
Posts: 33
Joined: November 5th, 2002, 4:57 am

Post by hiTCH-HiKER »

That webpage have a "chronometer" built in :)
When I tested K-Mel blew everything else away.
Didn't try with a hacked IE though.


where is the URL?
User avatar
Stefan
Posts: 2051
Joined: November 5th, 2002, 2:46 am

Post by Stefan »

hiTCH-HiKER wrote:
That webpage have a "chronometer" built in :)
When I tested K-Mel blew everything else away.
Didn't try with a hacked IE though.


where is the URL?


4th post from the top.
User avatar
Pascal
Posts: 32
Joined: November 5th, 2002, 9:11 am
Location: France

Post by Pascal »

Hi Stefan,

I just tried your speed measuring web site (as a reminder to everyone, it's http://www.numion.com/YourSpeed) and did the following test:

<u>Testing conditions</u>: Pentium III 450 MHz with 384M, with W2K SP3 and a 512kbps ADSL link
Loaded both Phoenix and MSIE 6 SP1 in memory, activated a test ("from France") with first Phoenix (build 20021108), waited for results, then IE and waited for results, then tried again with Phoenix to recheck the results.

Now here's what I got:
* Phoenix (no hack): throughput 16775 Bps or <b>134 kbps</b>
* MS IE (hacked the way I said in my initial post): Throughput 36078 Bps or <b>289 kbps</b>

That's more than twice Phoenix's speed.

So Stefan, here's my question, to you and to any reader on this forum -- I have no idea how technically serious these tests are (i.e. from the website's standpoint) and I totally agree with you on the fact that this hack breaks the specs, and that breaking specs is no good, etc., but don't these results make you stop and think? Should Phoenix remain <u><b>far behind</b> MS IE in terms of browsing speed</u> only in the Holy Name of the Specs?

It's an open debate - I hope - and would I suggest other people, from their current locations, to do the same comparative tests, both with and without the MS IE hack, just to see if they get a less impressive difference. But - and thanks to the site you advised us on, Stefan - for the moment we're not talking of just a 15 or a 25% speed increase here. It's a tremendous difference.

- Pascal
User avatar
Ploum
Posts: 245
Joined: November 11th, 2002, 3:14 am
Contact:

Post by Ploum »

I don't understand !

I create the file user.js into de phoenix/defaults/profile folder, and it doesn't care about it ! What must I do ?

My user.js is :
// Stop reusing active windows:
user_pref("advanced.system.supportDDEExec", false);
// Click on throbber to go to Phoenix Help:
user_pref("browser.throbber.url","http://texturizer.net/phoenix/");
user_pref("network.http.pipelining", true);
user_pref("network.http.proxy.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 8);
user_pref("nglayout.initialpaint.delay", 0);


Must I rename it prefs.js ? must I deplace it ?
Image
User avatar
Stefan
Posts: 2051
Joined: November 5th, 2002, 2:46 am

Post by Stefan »

Pascal wrote: but don't these results make you stop and think?


Definitly. That is too much to be ignored if it's not just a fluke on your setup.

Do you btw have code to do the hack for IE on Win98SE or a link to it?
Would definitly be interested in trying it out myself.

BTW, it might be good if you could also test IE unhacked just to give some indication of how myuch a difference it does.
User avatar
laszlo
Posts: 5225
Joined: November 4th, 2002, 6:13 pm
Location: .de
Contact:

Post by laszlo »

Pascal: You should definitely provide values for IE with default settings... otherwise it's comparing apples to oranges.

You should also test Phoenix with the following settings (or similar):

user_pref("network.http.max-connections", 60);
user_pref("network.http.max-connections-per-server", 40);
user_pref("network.http.max-persistent-connections-per-server", 20);
user_pref("network.http.max-persistent-connections-per-proxy", 20);
user_pref("network.http.pipelining", true);
user_pref("network.http.proxy.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 8);
shimage
Posts: 129
Joined: November 5th, 2002, 3:39 am

huh...

Post by shimage »

i dunno what the hack for ie is. i'm using win2k SP3 on this machine, if maybe the hack is already in it already.

IE --> 302kbps
phoenix(1111) --> 184kbps

it's not a factor of 2 for me, but it's still quite noticeable.

@laszlo
i thought the point was that he thinks the hack should be used in phoenix too. wouldn't it be pretty useless to <i>not</i> compare phoenix to "hacked IE" in that case?
User avatar
laszlo
Posts: 5225
Joined: November 4th, 2002, 6:13 pm
Location: .de
Contact:

Post by laszlo »

Ploum wrote:I don't understand !

I create the file user.js into de phoenix/defaults/profile folder, and it doesn't care about it ! What must I do ?

I assume that you've checked with about:config that the settings didn't make it through.

Method 2: Exit Phoenix (completely; this means that if you're using a Quick Start Feature hack, disable it; check with Task Manager in Windows or with ps or whatever you want in Linux). Copy the lines from user.js to prefs.js. Restart Phoenix. Check about:config. This should do it.
Ted Mielczarek
Posts: 1269
Joined: November 5th, 2002, 7:32 am
Location: PA
Contact:

Re: huh...

Post by Ted Mielczarek »

shimage wrote:i dunno what the hack for ie is. i'm using win2k SP3 on this machine, if maybe the hack is already in it already.

IE --> 302kbps
phoenix(1111) --> 184kbps

it's not a factor of 2 for me, but it's still quite noticeable.

@laszlo
i thought the point was that he thinks the hack should be used in phoenix too. wouldn't it be pretty useless to <i>not</i> compare phoenix to "hacked IE" in that case?


No, because there might be some other difference in IE's network code that is causing the noted difference, and the hack might not be significantly changing the results.
shimage
Posts: 129
Joined: November 5th, 2002, 3:39 am

Post by shimage »

granted. that's why you test both (hacked/unhacked) and look at the difference.

that number was for without the first four lines of laszlo's suggested additions. i didn't keep track of the numbers, but when i repeated the test it appeared that the 184 was a bit high, actually.

i then added those four lines and got 244+/-47 (n=4), though there was significant drift (duh), so i don't think that sigma is even meaningful here. IE (presumably unhacked) was consitently right around 300.
User avatar
laszlo
Posts: 5225
Joined: November 4th, 2002, 6:13 pm
Location: .de
Contact:

Post by laszlo »

shimage wrote:granted. that's why you test both (hacked/unhacked) and look at the difference.

Yes. The values you got seem to show that IE with default settings (which are a lot lower than with the registry change) already comes out much faster than Phoenix in this test.

shimage wrote:that number was for without the first four lines of laszlo's suggested additions. i didn't keep track of the numbers, but when i repeated the test it appeared that the 184 was a bit high, actually.

i then added those four lines and got 244+/-47 (n=4), though there was significant drift (duh), so i don't think that sigma is even meaningful here. IE (presumably unhacked) was consitently right around 300.

The last three (HTTP pipelining) won't do anything here. The test loads a page that fetches 40 images, each from a different server. There are not many comparable pages in the real world.
Last edited by laszlo on November 11th, 2002, 6:15 pm, edited 1 time in total.
shimage
Posts: 129
Joined: November 5th, 2002, 3:39 am

Post by shimage »

laszlo wrote: Yes. The values you got seem to show that IE with default settings (which are a lot lower than with the registry change) already comes out much faster than Phoenix in this test.

agreed; it's something else that's making IE so much faster. i also think that enabling the max-connection thingers <i>do</i> help somewhat, though. at least, more than you previously implied.
User avatar
laszlo
Posts: 5225
Joined: November 4th, 2002, 6:13 pm
Location: .de
Contact:

Post by laszlo »

shimage wrote:[...] it's something else that's making IE so much faster. i also think that enabling the max-connection thingers <i>do</i> help somewhat, though. at least, more than you previously implied.

Not really. There's a severe error in reasoning here. As I said, this test loads 40 images, each from a different server. Thus raising the allowed number of connections per server (as the registry change for IE and three of the four prefs you changed for Phoenix do), won't help anything. In other words: the use of this test page to test the efficiency of the IE registry change is highly questionable.

The fourth pref changed the total number of allowed HTTP connections, which has a default of 24 in Phoenix. To clarify: an unchanged Phoenix would start to fetch 24 images in parallel, start to load the 25th when the first image is loaded and so on. The change allowed the browser to fetch all 40 in parallel from the start, which may be an explanation for the difference after the pref change.

IE might just have a higher default value here, which is perfectly allowed by the HTTP spec (it only deals with the number of connections to one server). This doesn't explain the size of the gap between a changed Phoenix and an unchanged IE though; that's something to talk about.
Last edited by laszlo on November 11th, 2002, 8:05 pm, edited 1 time in total.
Ted Mielczarek
Posts: 1269
Joined: November 5th, 2002, 7:32 am
Location: PA
Contact:

Testing

Post by Ted Mielczarek »

So essentially this test is completely irrelevant to the original topic, which was max connections to a server.

A test that tested said topic would be nice, although the performance discrepancy already noted would be interesting to look into as well.
Post Reply