Firefox Tuning

Discussion of features in Mozilla Firefox
Locked
User avatar
laszlo
Posts: 5225
Joined: November 4th, 2002, 6:13 pm
Location: .de
Contact:

Re: What happened to nglayout.initialpaintdelay

Post by laszlo »

sling-shot wrote:Just downloaded FF 0.9
Can't find nglayout.initialpaintdelay in the about:config list.
What happened?

See this post:

http://forums.mozillazine.org/viewtopic ... 630#549807

Just right-click and add it as an Integer Preference.
Old Bozz
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post by Old Bozz »

Ahh-Ha! That brought back the snap I had before. The sites I follow did seem to be just a tad slower. Now if I can just remember to add the Integer Preference when I move up. :)
Craigwd_2000
Posts: 12
Joined: June 20th, 2004, 2:45 pm
Location: Mankato, MN
Contact:

Post by Craigwd_2000 »

Lazslo, I have a 328k cable connection, which I've already optimized a little using BroadbandOptimizer for Mac OS X. PS, I've done tests on my system using CNet's bandwidth meter proving two things: one, my Mac is more efficient thanks to its BSD underpinnings, and two that my amount of bandwidth shot up significantly after installing BroadbandOptimizer. Installing BroadbandOptimizer requires adding something to your Library folder (not the one in your home directory mind you), and for this reason I don't want non geeks to be afraid of using it. So do you know of any tweaks for the Mac OS X version of Firefox .9? I'm running Mac OS X 10.3 with all the latest updates.
cypher138
Posts: 6
Joined: June 19th, 2004, 5:57 pm

Post by cypher138 »

Excellent post everyone. I really love this browser. It makes me want to install *nix again.;)
OmniTree
Posts: 4
Joined: June 22nd, 2004, 2:09 am

Post by OmniTree »

I just started using Firefox about a week ago and am impressed with it's default speed. After reading quite a bit of this thread I've created a user.js and cut/pasted the settings I've found here which have greatly improved performance. Thank you all for your work.

Btw, this is the user.js I'm currently run on an AMD 3200+ Barton, 1gig, WinXP and 1.5mb DSL. Any further tweeking tips would be appreciated.

user_pref("browser.display.show_image_placeholders", false);
user_pref("browser.cache.memory.capacity", 65536);
user_pref("browser.cache.disk_cache_ssl", false);
user_pref("browser.xul.error_pages.enabled", true);
user_pref("content.interrupt.parsing", true);
user_pref("content.max.tokenizing.time", 2250000);
user_pref("content.maxtextrun", 8191);
user_pref("content.notify.backoffcount", 5);
user_pref("content.notify.interval", 750000);
user_pref("content.notify.ontimer", true);
user_pref("content.switch.threshold", 750000);
user_pref("nglayout.initialpaint.delay", 750);
user_pref("network.http.max-connections", 32);
user_pref("network.http.max-connections-per-server", 8 );
user_pref("network.http.max-persistent-connections-per-proxy", 8 );
user_pref("network.http.max-persistent-connections-per-server", 4);
user_pref("network.http.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 8 );
user_pref("network.http.proxy.pipelining", true);
user_pref("plugin.expose_full_path", true);
user_pref("signed.applets.codebase_principal_support", false);

Thank you.
Last edited by OmniTree on June 22nd, 2004, 1:56 pm, edited 1 time in total.
User avatar
sling-shot
Posts: 356
Joined: March 19th, 2003, 6:16 am
Location: India

Thanks

Post by sling-shot »

Many thanks to Laszlo. It is fine now.
I am a nobody. Nobody is perfect. So I am perfect. | Mutation is random. Evolution is selective.
AMD/X2/3600+ ASUS/M2NPV-VM DDR2-533/1.5GB SATA160GB Creative/SBS370 SAMSUNG/794MG/17CRT
The worst thing in any forum is to see your question go unanswered -SS.
Awais
Posts: 61
Joined: December 11th, 2002, 1:33 pm

Post by Awais »

This is a very helpful thread indeed!!!
cypher138
Posts: 6
Joined: June 19th, 2004, 5:57 pm

Post by cypher138 »

OmniTree wrote:I just started using Firefox about a week ago and am impressed with it's default speed. After reading quite a bit of this thread I've created a user.js and cut/pasted the settings I've found here which have greatly improved performance. Thank you all for your work.

Btw, this is the user.js I'm currently run on an AMD 3200+ Barton, 1gig, WinXP and 1.5mb DSL. Any further tweeking tips would be appreciated.

user_pref("browser.display.show_image_placeholders", false);
user_pref("browser.cache.memory.capacity", 65536);
user_pref("browser.cache.disk_cache_ssl", false);
user_pref("browser.xul.error_pages.enabled", true);
user_pref("content.interrupt.parsing", true);
user_pref("content.max.tokenizing.time", 2250000);
user_pref("content.maxtextrun", 8191);
user_pref("content.notify.backoffcount", 5);
user_pref("content.notify.interval", 750000);
user_pref("content.notify.ontimer", true);
user_pref("content.switch.threshold", 750000);
user_pref("nglayout.initialpaint.delay", 750);
user_pref("network.http.max-connections", 32);
user_pref("network.http.max-connections-per-server", 8 );
user_pref("network.http.max-persistent-connections-per-proxy", 8 );
user_pref("network.http.max-persistent-connections-per-server", 4);
user_pref("network.http.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 8 );
user_pref("network.http.proxy.pipelining", true);
user_pref("plugin.expose_full_path", true);
user_pref("signed.applets.codebase_principal_support", false);

Thank you.


Here's what I'm using on 3000/256 line XP Pro w/1GB RAM and a 3.6GHz P4. Give it a shot.;)



user_pref("content.interrupt.parsing", true);
user_pref("content.max.tokenizing.time", 2250000);
user_pref("content.maxtextrun", 8191);
user_pref("content.notify.backoffcount", 5);
user_pref("content.notify.interval", 750000);
user_pref("content.notify.ontimer", true);
user_pref("content.switch.threshold", 750000);
user_pref("nglayout.initialpaint.delay", 0);
user_pref("network.http.max-connections", 48);
user_pref("network.http.max-connections-per-server", 16);
user_pref("network.http.max-persistent-connections-per-proxy", 16);
user_pref("network.http.max-persistent-connections-per-server", 8);
user_pref("network.http.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 8);
user_pref("network.http.proxy.pipelining", true);
user_pref("network.dnsCacheExpiration", 360);
user_pref("network.dnsCacheEntries", 100);
user_pref("network.ftp.idleConnectionTimeout", 60);
user_pref("network.http.keep-alive.timeout", 30);
user_pref("network.http.request.max-start-delay", 0);
user_pref("network.http.connect.timeout", 30);
// Instead of annoying error dialog messages, display pages:
user_pref("browser.xul.error_pages.enabled", true);
// Put an end to blinking text!
user_pref("browser.blink_allowed", false);
Zaragon50
Posts: 1
Joined: June 24th, 2004, 2:56 pm

Post by Zaragon50 »

laslo: it seems that your settings advice has been invaluable to a lot of people. Therefore, it would seem reasonable to provide (somewhere in FF) a multiple set of preferences to download: One for broadband and one for 56K.
kaibab
Posts: 48
Joined: December 12th, 2003, 2:59 pm
Location: Northern UT

Post by kaibab »

i am going to say again what would be good settings for a: P3 at 853 MHz, 128MB, winXP box with 256k up/down
and PLEASE don't give me:
128MB is not enough for winXP (i know)
or:
you need more memory (i also know) (that is why i have the virtual memory to about 400MB)
all i want is some good settings
User avatar
Zulithe
Posts: 658
Joined: May 3rd, 2003, 5:45 pm
Location: San Francisco, CA

Post by Zulithe »

Hello I'm wondering if someone in this thread can help me with a problem I've been having

I'm on 56k dialup (ewww, yeah) and anytime I visit a site (like maybe a forum) that has LOTS of images (avatars, sigs, you know, it all adds up) a lot of times the images STOP loading even when they aren't finished! If I press F5 the page starts to reload and then they will start to load even more, but depending on how many images there actually are (and their sizes) they STILL may not load all the way.

Is there a setting in Firefox that will make Firefox keep trying to load an image or page and not stop until it is FINISHED (this should be the desired setting for anyone I suppose, but people on faster connections are unlikely to ever run into this)

Here is my user.js but I should note that I experience this problem even if I don't use a user.js and have a fresh profile.

user_pref("advanced.system.supportDDEExec", false);
user_pref("browser.enable_automatic_image_resizing", false);
user_pref("browser.block.target_new_window", true);
user_pref("browser.tabs.autoHide", false);
user_pref("dom.disable_window_move_resize", true);
user_pref("dom.disable_window_open_feature.close", true);
user_pref("dom.disable_window_open_feature.location", false);
user_pref("dom.disable_window_open_feature.menubar", false);
user_pref("dom.disable_window_open_feature.minimizable", true);
user_pref("dom.disable_window_open_feature.resizable", true);
user_pref("dom.disable_window_open_feature.scrollbars", true);
user_pref("dom.disable_window_open_feature.status", false);
user_pref("dom.disable_window_status_change", true);
user_pref("dom.disable_window_flip", true);
user_pref("dom.disable_window_status_change", true);
user_pref("browser.cache.memory.capacity", 65536);
user_pref("browser.cache.disk_cache_ssl", true);
user_pref("browser.xul.error_pages.enabled", true);
user_pref("content.interrupt.parsing", true);
user_pref("content.max.tokenizing.time", 2250000);
user_pref("content.maxtextrun", 8191);
user_pref("content.notify.backoffcount", 5);
user_pref("content.notify.interval", 750000);
user_pref("content.notify.ontimer", true);
user_pref("content.switch.threshold", 750000);
user_pref("network.http.max-connections", 24); // was 32
user_pref("network.http.max-connections-per-server", 8);
user_pref("network.http.max-persistent-connections-per-proxy", 8);
user_pref("network.http.max-persistent-connections-per-server", 4);
user_pref("network.http.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 8);
user_pref("network.http.proxy.pipelining", true);
user_pref("nglayout.initialpaint.delay", 750);
user_pref("security.warn_entering_secure", false);
user_pref("security.warn_entering_weak", true);
user_pref("security.warn_leaving_secure", false);
user_pref("security.warn_submit_insecure", false);
user_pref("security.warn_viewing_mixed", false);
user_pref("middlemouse.paste", true);
user_pref("network.dnsCacheExpiration", 360);
user_pref("network.dnsCacheEntries", 50);
user_pref("network.ftp.idleConnectionTimeout", 60);
user_pref("network.http.keep-alive.timeout", 30);
user_pref("network.http.request.max-start-delay", 5);



Additionally, why do people keep recommending the following settings?
browser.cache.enable
browser.cache.disk.directory
networking.proxy.wais
networking.proxy.wais_port
network.http.connect.timeout <-- especially this one
network.http.proxy.ssl.connect

They are all obsolete according to:
http://www.mozilla.org/quality/networki ... prefs.html
User avatar
Georg
Posts: 37
Joined: March 13th, 2004, 3:14 pm
Location: Frankfurt / Germany

Post by Georg »

cypher138 wrote:Here's what I'm using on 3000/256 line XP Pro w/1GB RAM and a 3.6GHz P4. Give it a shot.;)



user_pref("content.interrupt.parsing", true);
user_pref("content.max.tokenizing.time", 2250000);
user_pref("content.maxtextrun", 8191);
user_pref("content.notify.backoffcount", 5);
user_pref("content.notify.interval", 750000);
user_pref("content.notify.ontimer", true);
user_pref("content.switch.threshold", 750000);
user_pref("nglayout.initialpaint.delay", 0);
user_pref("network.http.max-connections", 48);
user_pref("network.http.max-connections-per-server", 16);
user_pref("network.http.max-persistent-connections-per-proxy", 16);
user_pref("network.http.max-persistent-connections-per-server", 8);
user_pref("network.http.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 8);
user_pref("network.http.proxy.pipelining", true);
user_pref("network.dnsCacheExpiration", 360);
user_pref("network.dnsCacheEntries", 100);
user_pref("network.ftp.idleConnectionTimeout", 60);
user_pref("network.http.keep-alive.timeout", 30);
user_pref("network.http.request.max-start-delay", 0);
user_pref("network.http.connect.timeout", 30);
// Instead of annoying error dialog messages, display pages:
user_pref("browser.xul.error_pages.enabled", true);
// Put an end to blinking text!
user_pref("browser.blink_allowed", false);


Works very good here (P4 HT @ 3,5 GHz, 1 GB RAM, DSL 3000/384), thanks. ;)
Regards Georg
Firefox/1.0 de / Java 1.5.0_01 / WinXP Pro SP2
Arcor DSL 3000 / 384
User avatar
Tommi
Posts: 227
Joined: November 23rd, 2003, 1:53 pm
Location: Denmark
Contact:

Post by Tommi »

I'm using 3200+ barton with 1Gig of memory.

I also noticed that keeping nglayout.initialpaint.delay at 750 works better, than setting it to lower value (like 500). If I set this value to less than 750, I can notice that when the page loads, some of the tables move around, because the page drawing is not completely done. With 750, the page always comes out completely rendered. Nice :)!

Thanks for everyone who contributed to these tweaks. They were really good.
Protaeus
Posts: 1
Joined: June 25th, 2004, 5:18 am
Location: Sydney, Australia
Contact:

Speeding up Firefox? Try an Optimized build.....

Post by Protaeus »

Seriously guys....If you want some substantial speed increases with Firefox, you can't beat downloading an optimized version for your setup. Eg. If you have an AMD Athlon XP download the version which is optimized for it. Try http://www.moox.ws/tech/mozilla/ and search for the PC u have.... The increases gained are way better than those of these tweaks...

my personal opinion though......
Firefox is the best thing since the tissue in spring....
User avatar
Georg
Posts: 37
Joined: March 13th, 2004, 3:14 pm
Location: Frankfurt / Germany

Post by Georg »

Do you really think, we haven't tested these "optimized versions" ? :-) Not really.
Regards Georg
Firefox/1.0 de / Java 1.5.0_01 / WinXP Pro SP2
Arcor DSL 3000 / 384
Locked