General :  K-Meleon Forum
General discussion about K-Meleon. 
Optimisation Vrai/Faux
Posted by: Mec94
Date: August 11, 2008 11:16PM

Bonjour,

j'ai recherché sur internet les optimisations que je pouvais faire avec k-meleon. Pour cela je me suis servis de ce qui est donnépour Firefox mais lesquelles sont bonnes ??????? Pouvez vous me le dire :

valeur booléenne network.http.pipelining à True
valeur numérique network.http.pipelining.maxrequests passez la valeur à 9 (ou à '30' (clic droit sur la ligne et sélectionner 'Modifier', certains pousse cette valeur à '100' (voir à '1000' pour des CPU plus puissant) mais bon personnellement)
valeur booléenne network.http.proxy.pipelining à True
valeur numérique network.http.max-connections à 64
valeur numérique network.http.max-connections-per-server à 24
valeur numérique network.http.max-persistent-connections-per-proxy modifier à 16
valeur numérique network.http.max-persistent-connections-per-server modifier à 16
Valeur numérique network.http.request.max-start-delay à 0
valeur numérique network.http.keep-alive.timeout à 30 (au lieu de 300)
valeur numérique network.ftp.idleConnectionTimeout à 60 (au lieu de 300)
valeur chaine image.animation_mode à once (au lieu de normal)
Valeur booléene network.prefetch-next à False (au lieu de True)
Valeur numérique browser.link.open_newwindow à 1 (au lieu de 3 à l'origine)
valeur booléenne signed.applets.codebase_principal_support à False (uniquement à True dans le cas de permission spéciale pour accéder à JavaScript : Problème de sécurité qd True)
valeur numérique browser.cache.disk.capacity à 65536
valeur booléenne browser.cache.disk_cache_ssl à True
valeur booléenne browser.xul.error_pages.enabled à True
valeur booléenne network.dns.disableIPv6 à True
valeur booléenne plugin.expose_full_path valeur à True
valeur numérique content.maxtextrun à 8191
valeur numérique content.notify.backoffcount à 5
Valeur numérique ui.submenuDelay à 0
Valeur numérique nglayout.initialpaint.delay à 0
Valeur numérique browser.sessionhistory.max_total_viewers à 0 (au lieu de -1 par défaut)
Valeur numérique browser.sessionhistory.max_viewers à 0
Valeur numérique browser.sessionhistory.max_entries à 0
Valeur numérique browser.cache.memory.capacity Valeur : 4000 ou 8000 ou 65536 (au lieu de - 1 au départ)
Valeur booléenne config.trim_on_minimize à True
valeur numérique content.notify.interval 849999
valeur numérique content.max.tokenizing.time 1000000 ou 3000000 (2 fois valeur content.notify.interval temps après lequel l'intérrutpion de l'analyse est faite pour retourner à l'application)
valeur booléenne content.interrupt.parsing à True (paramètre d'annulation du temps nécessaire à l'analyse d'une interruption)
valeur numérique content.switch.treshold 849999
valeur numérique nglayout.initial.delay à 0
Valeur booléenne browser.turbo.enabled à True
Valeur booléenne ui.scrollToClick à True
Valeur booléenne browser.urlbar.clickSelectsAll à True
Valeur booléenne browser.search.openintab à True

Merci pour votre aide

Options: ReplyQuote
Re: Optimisation Vrai/Faux
Posted by: guenter
Date: August 12, 2008 01:57AM

I hope I understood enough to help a little smiling smiley

Most speed tweaks are for all Geckos. Achilles collected & commented many a few years ago. K-Meleon will use all ones that are applicable - You can place them into user.js (a file in Profile folder, it overrides other prefs files, hope I was able to format my text so that this Forum does not break all and You can copy & paste the ones You want).

K-Meleon will not know the prefs that influence Firefox XUL/Chrome
- so they do no harm but they are not executed & do not help either - I never bother to invest the time to eliminate them. If You find good tweaks e.g. in firefox profile after using a speat tweaking extension - You can inject them via user.js.

Here are some with comments in English:

Excerpts from Firefox tweak guide created by Achilles

Most of us have heard of these tweaks, and they can be used with any Mozilla.
The settings are inserted into user.js, which feeds them into prefs.js on start.
Achilles based his legendary summary at Tweakfactor on a thread at Mozilla Forum.

K-Meleon and some other Gecko browsers that use their native OS widgets will not use tweaks for XUL items.
- So not all tweaks are applicable for k-m, but even those that are not usefull do no harm; k-m just overlooks them.
Since K-Meleon goes with low resources - Slow Computer means slower than Pentium 500 for us ;-) .
Quick and Dirty Settings

user_pref("network.http.pipelining", true);
user_pref("network.http.pipelining.firstrequest", true);
user_pref("network.http.pipelining.maxrequests", 8);
user_pref("nglayout.initialpaint.delay", 0);

Pipelining does multiple data requests at once and should speed things up. Initial Paint Delay actually slows down the rendering of the ENTIRE page but I tend to start reading before the entire page is rendered ; - ) this gives me the impression that the page loads faster.
Common to all configurations

These are the settings that seem to be common to all configuration files regardless of connection speed or computer speed with a couple of additions - plugin paths can be found with abouttongue sticking out smileylugins and the bookmark menu delay is turned off.

user_pref("network.http.pipelining", true);
user_pref("network.http.proxy.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 8);
user_pref("content.notify.backoffcount", 5);
user_pref("plugin.expose_full_path", true);
user_pref("ui.submenuDelay", 0);

Fast Computer Fast Connection

user_pref("content.interrupt.parsing", true);
user_pref("content.max.tokenizing.time", 2250000);
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("browser.cache.memory.capacity", 65536);

A couple settings of note - Firefox is allocated 4096 KB of memory by default and in this configuration we give it roughly 65MB as denoted by the last line. This can be changed according to what is used.

Fast Computer, Slower Connection

This configuration is more suited to people without ultra fast connections. We are not talking about dial up connections but slower DSL / Cable connections.

user_pref("content.max.tokenizing.time", 2250000);
user_pref("content.notify.interval", 750000);
user_pref("content.notify.ontimer", true);
user_pref("content.switch.threshold", 750000);
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("nglayout.initialpaint.delay", 0);
user_pref("browser.cache.memory.capacity", 65536);

Fast Computer, Slow Connection (dial-up / modem)
user_pref("browser.xul.error_pages.enabled", true);
user_pref("content.interrupt.parsing", true);
user_pref("content.max.tokenizing.time", 3000000);
user_pref("content.maxtextrun", 8191);
user_pref("content.notify.interval", 750000);
user_pref("content.notify.ontimer", true);
user_pref("content.switch.threshold", 750000);
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("nglayout.initialpaint.delay", 0);
user_pref("browser.cache.memory.capacity", 65536);

Slow Computer, Fast Connection
user_pref("content.max.tokenizing.time", 3000000);
user_pref("content.notify.backoffcount", 5);
user_pref("content.notify.interval", 1000000);
user_pref("content.notify.ontimer", true);
user_pref("content.switch.threshold", 1000000);
user_pref("content.maxtextrun", 4095);
user_pref("nglayout.initialpaint.delay", 1000);
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("dom.disable_window_status_change", true);

One of the changes made for this particular configuration is the final line where the status bar is disabled for changing web pages to save processor time.

Slow Computer, Slow Connection(dial-up / modem)

user_pref("content.max.tokenizing.time", 2250000);
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("dom.disable_window_status_change", true); 



Options: ReplyQuote
Re: Optimisation Vrai/Faux
Posted by: Mec94
Date: August 12, 2008 12:04PM

Merci pour ton aide.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.