General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
settings to speed kmeleon browsing? what were those?
Posted by: Ammar
Date: July 04, 2003 03:26PM

I just installed kmeleon after format, and I dont remember which changes had to be made in prefs.js to speed up browsing? does anyone here know?

Options: ReplyQuote
Re: settings to speed kmeleon browsing? what were those?
Posted by: jsnj
Date: July 04, 2003 05:54PM

This is the only one where I noticed a difference:

user_pref("nglayout.initialpaint.delay", 0);

Options: ReplyQuote
Re: settings to speed kmeleon browsing? what were those?
Posted by: MonkeeSage
Date: July 04, 2003 10:39PM

user_pref("network.http.pipelining", true);
user_pref("network.http.pipelining.firstrequest", true);
user_pref("network.http.pipelining.maxrequests", 20);
user_pref("network.prefetch-next", false);
user_pref("nglayout.initialpaint.delay", 0);


Shelumi`El
Jordan

S.D.G

Options: ReplyQuote
Re: settings to speed kmeleon browsing? what were those?
Posted by: Franco
Date: July 05, 2003 09:42PM


Turning off the prefetch speeds up K-Meleon? I'll give it a try but I thought it would be faster to leave it on.

Options: ReplyQuote
Re: settings to speed kmeleon browsing? what were those?
Posted by: void main()
Date: July 05, 2003 11:07PM

user_pref("network.prefetch-next", false);

Link prefetching only works on certain pages designed exploit this feature so it's not like you'll see much of a difference, if you're on dialup it will slow you down noticeably on graphics intensive pages but other than that it seems to work best on pages with very few graphics (at least for me).

Options: ReplyQuote
KM faster loading time
Posted by: Giovanni
Date: July 06, 2003 09:37AM


Has anybody found a way of improving KM loading time without resorting to the loader? It really takes a while on my 200 mhz , 64 mb.
Any help will be highly appreciated.
Giovanni

Options: ReplyQuote
Re: settings to speed kmeleon browsing? what were those?
Posted by: Klaartje
Date: July 07, 2003 10:07AM

Trim down you bookmarks/favourites list.
If you really want to use all of them, try using the bookmarks.htm. file as a homepage!

Options: ReplyQuote
Re: settings to speed kmeleon browsing? what were those?
Posted by: MonkeeSage
Date: August 02, 2003 08:11PM

Here is a nice list of tweaks:

// Enable Smooth Scrolling
user_pref("general.smoothScroll", true);

// Change to normal Google search:
user_pref("keyword.URL", "http://google.com/search?btnG=Google+Search&q="winking smiley;

// Do not Reuse Active Mozilla Browser
user_pref("advanced.system.supportDDEExec", false);

// Number of backup copies to keep for prefs.js (ie: bak, .bak1, etc.)
user_pref("backups.number_of_prefs_copies", 1);

// Turn on timer-based reflow management
user_pref("content.notify.ontimer", true);

// Sets the allowed time between reflows in microseconds
user_pref("content.notify.interval", 100);

// Set the number of reflows to do before waiting for the
// rest of the page to arrive
user_pref("content.notify.backoffcount", 200);

// Enable Improve pipelining:
user_pref("network.http.pipelining", true);
user_pref("network.http.proxy.pipelining", true);
user_pref("network.http.pipelining.firstrequest", true); //Default is false
user_pref("network.http.pipelining.maxrequests", 100); //Default is 4

// Increase Multi-Threaded Downloading performance
user_pref("network.http.max-connections", 60); //Default is 24
user_pref("network.http.max-connections-per-server", 32); //Default is 8
user_pref("network.http.max-persistent-connections-per-proxy", 16); //Default is 4
user_pref("network.http.max-persistent-connections-per-server", 8); //Default is 2

// Remove painting delay when loading pages
user_pref("nglayout.initialpaint.delay", 0); // Default is 250

// Show full path for plugin file on about:plugins page
// the full path was removed for security purposes, please keep that in mind
user_pref("plugin.expose_full_path", true); // Default is false

// Find As You Type Configuration:
// Set this pref to false to disable Find As You Type:
user_pref("accessibility.typeaheadfind", true);
// If you set this pret to true, typing can automatically start Find As You Type.
// If false (default), you must hit / (find text) or ' (find links) before your search.
user_pref("accessibility.typeaheadfind.autostart", true);
// Set this pref to false if you want Find As You Type to search normal text too:
user_pref("accessibility.typeaheadfind.linksonly", false);
// Set this pref to true if you require that the link starts with the entered text:
user_pref("accessibility.typeaheadfind.startlinksonly", false);
// This is the time in milliseconds for the Find As You Type to stop watching for keystrokes:
user_pref("accessibility.typeaheadfind.timeout", 3000);

From:
http://www.mrtech.com/news/messages/2977.html


Shelumi`El
Jordan

S.D.G

Options: ReplyQuote
Re: settings to speed kmeleon browsing? what were those?
Posted by: void main()
Date: August 03, 2003 12:25AM

Thanks man, good find. smiling smiley

Options: ReplyQuote
Re: settings to speed kmeleon browsing? what were those?
Posted by: void main()
Date: August 03, 2003 11:16AM

Does anyone care to tell me or is there anywhere that explains what this timer based reflow management pref does in relation to the nglayout paint delay preference?

Options: ReplyQuote
Re: settings to speed kmeleon browsing? what were those?
Posted by: CutTheRedWire
Date: August 04, 2003 08:33PM

You might want to start a new thread for that.
Draw more attention to it.
Better chances of an answer. 8)

I could be wrong, but it can't hurt.
Wish I could do more to help. ^.^;

Options: ReplyQuote
Re: settings to speed kmeleon browsing? what were those?
Posted by: void main()
Date: August 08, 2003 10:08AM

Just wanted to say that these lines made those most dramatic speed increases for me. I had only tweaked the user_pref("nglayout.initialpaint.delay", 0); preference earlier but adding these other three lines makes K-M display pages even sooner. Great tweak!


user_pref("content.notify.ontimer", true);
user_pref("content.notify.interval", 100);
user_pref("content.notify.backoffcount", 200);


Options: ReplyQuote
Speed Browsing or Privacy Violation?
Posted by: CIA
Date: October 13, 2005 01:35AM

https://bugzilla.mozilla.org/show_bug.cgi?id=309776

Goto Google. Search for 'selinux'.

You now have a Cookie from NSA.gov, and your Firefox browser has downloaded http://www.NSA.gov. Nice implementations of privacy Firefox team. Good job.

Options: ReplyQuote
Re: settings to speed kmeleon browsing? what were those?
Posted by: Drahken
Date: October 13, 2005 11:43AM

If you set initialpaint delay too low, you'll get a "flashing" effect on some pages when the page is redrawn (why the F~ the thing thinks it has to draw the page twice is beyond me, since it never changes anything in the redraw). In theory, those 3 reflow settings should be able to fix that, but I wonder if setting them higher would fix it or setting them lower?

Don't forget the setting browser.sessionhistory.max_viewers to improve back/forward button performance. Keep in mind that the number you choose reflects how many pages will be kept in memory. A higher number means that you'll be able to quickly go back further, but it also means KM will use more memory. 10 is the default number for 1.8+ (1.7 defaults to 0), I find 3 or 4 works best (how often do you go back more than 3 or 4 pages?)
*NOTE: This setting onlyt truly works in 1.8x and newer GREs. However, it does improve back/forward performance in 1.7x GREs as well.

Options: ReplyQuote
Re: settings to speed kmeleon browsing? what were those?
Posted by: Drahken
Date: October 13, 2005 11:53AM
Options: ReplyQuote
Re: settings to speed kmeleon browsing? what were those?
Posted by: Drahken
Date: October 13, 2005 03:46PM

Set all those obnoxious content.notify/reflow thing extremely low. I just toyed with the settings and got this thing going insanely fast (and without that damned flashing crap). Here's my settings:
http://drahken.t35.com/speed-settings.png

This thing renders even faster than opera now.

Options: ReplyQuote
Re: settings to speed kmeleon browsing? what were those?
Posted by: bst82551
Date: October 13, 2005 07:46PM

WHOA! You weren't kidding. Those settings improved rendering speed DRAMATICALLY... or at least they did on my system. Maybe on a slower system, a little tweaking would need to be done.
Thanks for that, Drahken!

Brian

Options: ReplyQuote
Re: settings to speed kmeleon browsing? what were those?
Posted by: guenter
Date: October 13, 2005 08:08PM

Drakken: hx;
but why did not You go into files and copy pasted Your findings here?
Bad typists like me would have a much easier time ; - )


@all
a copy of the famous Achilles tweak guide is also with the last issue
of the release notes at:

http://home.htp-tel.de/sterntaler/ww2.html

& accompanying the (my) ww.0.9_17.12 theme

about: speed
It has been discussed in a long thread prior to w-b last year (summer).
it mostly depends on settings, hardware and where You go (yeast)
- & it does not matter so much which newer Rendering Engine someone uses.
(newer = Gecko & Opera // else fast = MSIE 4.x and 5.x but usualy not 6.x)

GRE 1.8.x is slightly faster then 1.7.x on most systems:
Dorian, Jan & others loved speed & new things
- so the w-b was created last year.

w-b = a k-meleon 0.8.2 that had modern default speed settings in prefs.js
(instead of those for an old pc on an old cable modem).
additionalöy w-b had joined xpt and was a so called static exe (dll inside exe)
for slightly less overhead and slightly more performance at start and rendering.

p. s. it was christened w-b because 2 official devs had a problem with the alternative name used inside the project ("k-m 0.8.3").

Options: ReplyQuote
Re: settings to speed kmeleon browsing? what were those?
Posted by: Drahken
Date: October 13, 2005 08:13PM

...Because I didn't think to copy it from the prefs.js file and there's no way to copy mutliple things at once from about:config.

user_pref("content.interrupt.parsing", true);
user_pref("content.max.tokenizing.time", 30);
user_pref("content.maxtextrun", 8190);
user_pref("content.notify.backoffcount", 20);
user_pref("content.notify.interval", 10);
user_pref("content.notify.ontimer", true);
user_pref("content.notify.threshold", 100);

Options: ReplyQuote
Re: settings to speed kmeleon browsing? what were those?
Posted by: rstlne
Date: October 13, 2005 08:48PM

Shouldn't that be content.switch.threshold instead of content.notify.threshold?

Options: ReplyQuote
Re: settings to speed kmeleon browsing? what were those?
Posted by: Drahken
Date: October 13, 2005 09:05PM

Hmm... the first site I posted agrees with you, the other (which is the one I copied from) says it's notify.

Options: ReplyQuote
Re: settings to speed kmeleon browsing? what were those?
Posted by: guenter
Date: October 13, 2005 10:24PM

thx for posting and giving hints to fine tuning U 2

@Drakken - possibly some things are dependent (?) on provider settings
(all of us that want it really exact - may have to fine tune)
(so it is good to raise objection if it does not work for all here - 2 know save settings)

after hours greetings from CET (Central European Time) guenter

Options: ReplyQuote
qlxnd znayslegt
Posted by: gakj iyewdp
Date: August 16, 2008 10:27PM

wbchiq njrg zcqwvtosh hkfbque otxuwlgri pdtahsql gtoeh

Options: ReplyQuote
Re: settings to speed kmeleon browsing? what were those?
Posted by: Mec94
Date: August 17, 2008 09:08AM

Hi,

I make a Kmm personnal file "Parametres Personnels.kmm" (in french). Inside you have my paramters for speed, load a wav file, use freenet

# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)

# ---------- Page Load Speed-Up ------------------------------------------------------------------------------------
#
# Dependencies : -
# Resources : -
# Preferences : -
#
# $OpenURL="http://127.0.0.1:8888/";;
# &OpenURL_InNew;
# "C:\Program Files\Freenet\bin\start.cmd"
# ------------------------------------------------------------------------------------------------------------------
#
# CHOIX FREENET
#
Freenet_Toggle{
menuchecked=(getpref(INT,"network.http.max-connections")==200);
getpref(INT,"network.http.max-connections")==200?&_Freenet_Disable:&_Freenet_Enable;
}
# ----- Private
_Freenet_Enable{
&_SpeedUp_Disable;
$_Fic_cmd="start.cmd";
exec("\"".getfolder(MacroFolder)."\\Freenet\" ".$_Fic_cmd."");
statusbar(sub("%s",$on,_("Freenet %s")));
# INCREASE MULTI-THREADED DOWNLOAD PERFORMANCE
setpref(INT, "network.http.max-connections",200);
setpref(INT, "network.http.max-connections-per-server",100);
setpref(INT, "network.http.max-persistent-connections-per-proxy",50);
setpref(INT, "network.http.max-persistent-connections-per-server",10);
$OpenURL="http://127.0.0.1:8888/";;
&OpenURL_InNew;
}
_Freenet_Disable{
$_Fic_cmd="stop.cmd";
exec("\"".getfolder(MacroFolder)."\\Freenet\" ".$_Fic_cmd."");
statusbar(sub("%s",$off,_("Freenet %s")));
# RESTORE DEFAULTS
# INCREASE MULTI-THREADED DOWNLOAD PERFORMANCE
setpref(INT, "network.http.max-connections",64);
setpref(INT, "network.http.max-connections-per-server",24);
setpref(INT, "network.http.max-persistent-connections-per-proxy",16);
setpref(INT, "network.http.max-persistent-connections-per-server",16);
}
#
# CHOIX SPEEDUP
#
SpeedUp_Toggle{
menuchecked=(getpref(BOOL,"network.http.pipelining")==true);
getpref(BOOL,"network.http.pipelining")==true?&_SpeedUp_Disable:&_SpeedUp_Enable;
}
# ----- Private
_SpeedUp_Enable{
&_Freenet_Disable;
statusbar(sub("%s",$on,_("Page load speed-up %s")));
# ENABLE IMPROVED PIPELINING
setpref(BOOL, "network.http.pipelining",true);
setpref(INT, "network.http.pipelining.maxrequests",9);
setpref(BOOL, "network.http.proxy.pipelining",true);
setpref(BOOL, "network.http.pipelining.firstrequest",true);
# INCREASE MULTI-THREADED DOWNLOAD PERFORMANCE
setpref(INT, "network.http.max-connections",64);
setpref(INT, "network.http.max-connections-per-server",24);
setpref(INT, "network.http.max-persistent-connections-per-proxy",16);
setpref(INT, "network.http.max-persistent-connections-per-server",16);
setpref(INT, "network.http.request.max-start-delay",0);
setpref(BOOL, "network.dns.disableIPv6",true);
setpref(INT, "network.http.keep-alive.timeout",30);
setpref(INT, "network.ftp.idleConnectionTimeout",60);
#
setpref(BOOL, "network.prefetch-next",false);
setpref(BOOL, "signed.applets.codebase_principal_support",false);
setpref(BOOL, "plugin.expose_full_path",true);
setpref(STRING, "image.animation_mode",once);
#
setpref(INT, "browser.link.open_newwindow",1);
setpref(INT, "browser.cache.disk.capacity",65536);
setpref(INT, "browser.cache.memory.capacity",65536);
setpref(INT, "browser.sessionhistory.max_total_viewers",0);
setpref(INT, "browser.sessionhistory.max_viewers",0);
setpref(INT, "browser.sessionhistory.max_entries",0);
setpref(BOOL, "browser.cache.disk_cache_ssl",true);
setpref(BOOL, "browser.xul.error_pages.enabled",true);
setpref(BOOL, "browser.turbo.enabled",true);
setpref(BOOL, "browser.urlbar.clickSelectsAll",true);
setpref(BOOL, "browser.search.openintab",true);
# TURN ON TIMER BASED REFLOW MANAGEMENT
setpref(BOOL, "content.notify.ontimer",true);
# SETS THE ALLOWED TIME BETWEEN REFLOWS IN MICROSECONDS
setpref(INT, "content.notify.interval",849999);
# SET THE NUMBER OF REFLOWS TO DO BEFORE WAITING FOR THE REST OF THE PAGE TO ARRIVE
setpref(INT, "content.notify.backoffcount",5);
setpref(INT, "content.maxtextrun",8191);
setpref(INT, "content.switch.treshold",849999);
setpref(INT, "content.max.tokenizing.time",1699998);
setpref(BOOL, "content.interrupt.parsing",true);
setpref(INT, "ui.submenuDelay",0);
setpref(INT, "nglayout.initialpaint.delay",0);
setpref(INT, "nglayout.initial.delay",0);
setpref(BOOL, "config.trim_on_minimize",true);
setpref(BOOL, "ui.scrollToClick",true);
}
_SpeedUp_Disable{
&_Freenet_Disable;
statusbar(sub("%s",$off,_("Page load speed-up %s")));
# RESTORE DEFAULTS
# ENABLE IMPROVED PIPELINING
delpref("network.http.pipelining");
delpref("network.http.pipelining.maxrequests");
delpref("network.http.proxy.pipelining");
delpref("network.http.pipelining.firstrequest");
# INCREASE MULTI-THREADED DOWNLOAD PERFORMANCE
delpref("network.http.max-connections");
delpref("network.http.max-connections-per-server");
delpref("network.http.max-persistent-connections-per-proxy");
delpref("network.http.max-persistent-connections-per-server");
delpref("network.http.request.max-start-delay");
delpref("network.dns.disableIPv6");
delpref("network.http.keep-alive.timeout");
delpref("network.ftp.idleConnectionTimeout");
#
delpref("network.prefetch-next");
delpref("signed.applets.codebase_principal_support");
delpref("plugin.expose_full_path");
delpref("image.animation_mode");
#
delpref("browser.link.open_newwindow");
delpref("browser.cache.disk.capacity");
delpref("browser.cache.memory.capacity");
delpref("browser.sessionhistory.max_total_viewers");
delpref("browser.sessionhistory.max_viewers");
delpref("browser.sessionhistory.max_entries");
delpref("browser.cache.disk_cache_ssl");
delpref("browser.xul.error_pages.enabled");
delpref("browser.turbo.enabled");
delpref("browser.urlbar.clickSelectsAll");
delpref("browser.search.openintab");
# TURN ON TIMER BASED REFLOW MANAGEMENT
delpref("content.notify.ontimer");
# SETS THE ALLOWED TIME BETWEEN REFLOWS IN MICROSECONDS
delpref("content.notify.interval");
# SET THE NUMBER OF REFLOWS TO DO BEFORE WAITING FOR THE REST OF THE PAGE TO ARRIVE
delpref("content.notify.backoffcount");
delpref("content.maxtextrun");
delpref("content.switch.treshold");
delpref("content.max.tokenizing.time");
delpref("content.interrupt.parsing");
delpref("ui.submenuDelay");
delpref("nglayout.initialpaint.delay");
delpref("nglayout.initial.delay");
delpref("config.trim_on_minimize");
delpref("ui.scrollToClick");
}
#
# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)
#
# ---------- PgLdSound.kmm
# ---------- K-Meleon Macro Language Play Sound at Page Load ---------------
#
# Dependencies : main.kmm winmm.dll
# Resources : - sound files *.wav and Sounder.exe
# Preferences : -
# Version : 0.5 2007-10-15
# --------------------------------------------------------------------------------
#
_PgLdSound_Sound_On{
# checkmark value for the on menu;
menuchecked=getpref( BOOL , "k-meleon_pgldsound_use" )==true;
# set the userpref k-meleon_pgldsound_use to true;
setpref( BOOL , "k-meleon_pgldsound_use", true );
}
#
_PgLdSound_Sound_Off{
# checkmark value for the off menu;
menuchecked=getpref( BOOL , "k-meleon_pgldsound_use" )==false;
# set the userpref k-meleon pgldsound_use to false;
setpref( BOOL , "k-meleon_pgldsound_use", false );
}
#
_PgLdSound_Configure{
#Prompts the user for a file, displaying only the files matching the pattern.
$_PgLdSound_Choice_Path = promptforfile( $_PgLdSound_Path, "Sound Files", "*.wav" );
$_PLS_Length = length($_PgLdSound_Path );
setpref( STRING, "k-meleon_pgldsound_choice", substr($_PgLdSound_Choice_Path, $_PLS_Length + 1 ));
}
#
# ---------- bookmarkbackup Extension (Bookmark Backup) -------------------------------------------------------------------
#
# Dependencies : main.kmm (OpenURL)
# Resources : -
# Preferences : -
#
# ------------------------------------------------------------------------------------------------------------------

bookmarkbackup{
$OpenURL="chrome://bookmarkbackup/content/bookmarkbackupSettings.xul"; &OpenURL_InNewWindow;
}
# ------------------------------------------------------------------------------------------------------------------
_MenuParametres_BuildMenu{
# Connection menu
#
setmenu(PrivacySecurity,popup,"&Parametrages Personnel");
setmenu("&Parametrages Personnel",popup,"&Menu Freenet");
setmenu("&Menu Freenet",macro,"Lancement/Arret Freenet",Freenet_Toggle);
setmenu("&Parametrages Personnel",separator,-1);
setmenu("&Parametrages Personnel",macro,"Acc&eleration du chargement des pages",SpeedUp_Toggle);
setmenu("&Parametrages Personnel",separator,-1);
setmenu("&Parametrages Personnel",macro,"Sauvegarde Profil",bookmarkbackup,-1);
setmenu("&Parametrages Personnel",separator,-1);
setmenu("&Parametrages Personnel",popup,"Chargement de Page en Musique",Misc);
setmenu("Chargement de Page en Musique",macro,"ON" . " (" .getpref( STRING , "k-meleon_pgldsound_choice" ) ." )",_PgLdSound_Sound_On,0);
setmenu("Chargement de Page en Musique",macro,"OFF",_PgLdSound_Sound_Off,1);
setmenu("Chargement de Page en Musique",separator,2);
setmenu("Chargement de Page en Musique",macro,"Configure ...",_PgLdSound_Configure,3);
}
#
_PgLdSound_Get_Path{
### sounder.exe is supposed to be located in a subfolder, PgLdSound, of the user macro folder.
$_PgLdSound_Path=getfolder(MacroFolder)."\\PgLdSound";
}
#
_PgLdSound_Sound_Play{
$_PgLdSound_Use = getpref( BOOL , "k-meleon_pgldsound_use" );
$_PgLdSound_Choice = getpref( STRING , "k-meleon_pgldsound_choice" );
$_PgLdSound_Use ==true ? exec("\"".getfolder(MacroFolder)."\\PgLdSound\\Sounder.exe\" ".$_PgLdSound_Choice." >Nul") : 0;
}
#
$OnStartup=$OnStartup."_PgLdSound_Get_Path;";
$OnLoad=$OnLoad."_PgLdSound_Sound_Play;";
$OnInit=$OnInit."_MenuParametres_BuildMenu;";
# ------------------------------------------------------------------------------------------------------------------
$macroModules=$macroModules."SpeedUp;";

Options: ReplyQuote
Re: settings to speed kmeleon browsing? what were those?
Posted by: disrupted(unlogged)
Date: August 18, 2008 07:34PM

that's a really useful macro mec!
merci beaucoup

Options: ReplyQuote
Re: settings to speed kmeleon browsing? what were those?
Posted by: sickley
Date: December 29, 2009 04:37PM

found a few good ones in this youtube vid.
http://www.youtube.com/watch?v=aRG0ce3Js9c
the guys french though so if you dont speak french just turn off the sound lol

Options: ReplyQuote
Re: settings to speed kmeleon browsing? what were those?
Posted by: desga2
Date: December 31, 2009 07:59PM

Quote
sickley
found a few good ones in this youtube vid.
http://www.youtube.com/watch?v=aRG0ce3Js9c
the guys french though so if you dont speak french just turn off the sound lol

The video language isn't french is spanish.
I already look it, look the "KM in youtube" thread.

K-Meleon in Spanish

Options: ReplyQuote


K-Meleon forum is powered by Phorum.