Palemoon launches instantly,lightening quick

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
sanji765

Palemoon launches instantly,lightening quick

Unread post by sanji765 » 2012-07-14, 18:07

A long,meaningfull message=
Hai,i am very impressed by your palemoon project,and want to convey my apperciation,i used to use firefox 14,and had many addons,it took me over 30 seconds to load firefox,i was very frusturated with it,i posted on firefox fourms,but no improvements happened,i even tried running the firefox install directory and my profile from a ramdisk,and used a symbolic link,the firefox running even from ram direclty still took anywhere between 13-30seconds,finally today i switched to palemoon,and WOW,i can launch it in under "3 seconds",Amazing,months ago while i was using firefox i have tried contacting gina of lifehacker,and asked her to code an addon or something that would allow me to delay the loading of addons (i.e load addons in a timely fashion),in the hope that it would speed up my start-up,i learned from firefox fourms,that this is not possible,so I AS A REPRESENTATIVE OF "FIREFOX and PALEMOON" USERS WORLD WIDE,request you to create a mechanism that loads firefox in the baground,when computer starts,like a service(i have tried firefox preloader,its useless) i.e it can take anywhere between 9 to 50mb,so that firefox or palemoon launches in less than 3 seconds,(prefrebally launching at 1.5 ,and allowing the enduser to determine,how much memory can be allowed to be used,i have tried running firefox as a service but since from windows7 they have restricted that feature for security reasons,i cannot directly do it,but as a programmer "you can code Wonders",so please contribute,i use wundows 8,ie10,and i.e 10 launches in 1.5 seconds,speed is a big factor,when choosing a browser,Google's chrome is gaining in market share,Please contribute,and develop something "atleast" for the palemoon platform,that would load the palemoon in the background when windows starts,so it can load instantly,and give an option for the end user,to determine how much memory to allot to this background process.eg:9-50mb.
With High hopes,An already sastified palemoon user,asking for a contribution that would change the game. :thumbup:

sanji765

Re: Palemoon launches instantly,lightening quick

Unread post by sanji765 » 2012-07-14, 18:13

i have 23 addons,in firefox 14,it took 30 seconds(even if i set the firefox to clear history,cache on exit),now the same addons in palemoon takes 3 seconds,i can load everything in under 3 seconds,i have loaded a session of 130 tabs,it still loads in 3 seconds,as time passes,the amount of addons will without doubt increase,so please develop this service idea,i really want it

sanji765

Re: Palemoon launches instantly,lightening quick

Unread post by sanji765 » 2012-07-14, 18:39

WOW,thank you for your quick reply(through email),Are you a bot or something(lol),i want a loader,because i have purged many addons for the sake of speed,like addblock plus,Fxchrome13.1 theme,so i have made tradeoffs for speed,i would like to use the browser,in its full Glory,i dont like to compramise,right now i am forced to purge extensions,i want to be free,the main strength of firefox/palemoon is in its addons,that make it super cool,the more,the merrier (i.e more functions),please develop the loader,think about all the people like me who end up having a lot of usefull addons,but have to compramise/make tradeoffs for speed,how many end-users are seeking speed(go check on fourms yourself),so it makes absolute sense,for the present and the future(when naturally the number of addons go up),there is immense value in speed,it affects the consumption i.e choosing between I.E10 vs palemoon,think about it,is asking for a browser that loads instanlty or under 3 seconds,wrong,my friend,isnt that basic--?

As you very well pointed out yourself in e-mail, I.E10,is at an advantage to every other browser,so i advice you with passion,to bring that same advantage to Palemoon,NOW hopefully it makes perfect sense.

i have 23 addons enabled,and twice as much disabled,so that it loads fast and stays usefull,a browser that takes more than 15 seconds to load=FAIL !,i really want my addons with the browser,what good is a browser,if i have to disable the addons.

dark_moon

Re: Palemoon launches instantly,lightening quick

Unread post by dark_moon » 2012-07-14, 20:49

Why you then dont just simpel disable/ remove some addons?

No need for a launcher and moonchild say it: he dont make a launcher

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35651
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Palemoon launches instantly,lightening quick

Unread post by Moonchild » 2012-07-14, 21:09

OK.. Sanji, if you post this here, don't also flood my e-mail inbox. It's really kind of rude.

To address your concerns, A few things...
  1. People with lots of add-ons (some use as many as 80) have never complained about Pale Moon's loading speed.
  2. A loader will not be able to preload and pre-initialize all the add-ons since that is the sole domain of the browser.
  3. A cold start of the browser may take a few seconds longer than a warm start. It should still not take 30 seconds. If it does then something else is interfering with loading and initializing the browser - common culprits are antivirus (realtime) scanners and overzealous firewall/behavioral defense software.
  4. You said that Pale Moon loads in under 3 seconds for you - then what's the point in asking me to write a preloader? I haven't heard anyone else complain about the browser's load times; quite the opposite.
  5. If Firefox starts so slow, they can learn something from Pale Moon.
  6. IE10 in Windows 8 loads fast because the Windows 8 User Interface IS internet explorer, so you are in fact not loading up a new application, but just "opening a new window". If that still takes 1.5 seconds, by the way, IE is slow ;) Hit "Ctrl-N" in Pale Moon, and see if it takes as long? Oh.. and that would be IE without add-ons, since IE doesn't have add-ons.
I will not make a preloader because Pale Moon doesn't need one. By the way, this question is already answered in the FAQ.

If you are always going to load up your browser, put it in your startup group (minimized) so it is loaded when Windows starts. Simple solution. If
it's loaded once like that, subsequent (warm) starts of Pale Moon will be near instant.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

stravinsky

Re: Palemoon launches instantly,lightening quick

Unread post by stravinsky » 2012-07-15, 04:09

TL; DR

1. 23 addons will definitely take some CPU time and disk time to load.

2. some addons confirm the security of the addons by contacting a server for security certificate. depending on that server load and your net speed, this can slow your startup. Eg. : "element hiding helper".

3. as moonchild suggested, you can put shortcut to palemoon in your startup. that way all startups are warm.

4. Some startup improvement will be part of FF15 codebase, which hopefully MC will port to PM too. so by the next major version, PM should startup faster.

5. delete the cache. this will definitely improve startups.

6. Use something like : https://addons.mozilla.org/en-US/firefox/addon/vacuum-places-improved/


EDIT: and try not to write big walls of text. this is a tech forum, not an essay reading competition.

dark_moon

Re: Palemoon launches instantly,lightening quick

Unread post by dark_moon » 2012-07-15, 07:59

A small addition:
Here you have your preloader: https://addons.mozilla.org/en/firefox/a ... -preloader

Maybe this can be added to the FAQ, for the next user which ask for a preloder.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35651
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Palemoon launches instantly,lightening quick

Unread post by Moonchild » 2012-07-15, 09:06

dark_moon wrote:A small addition:
Here you have your preloader: https://addons.mozilla.org/en/firefox/a ... -preloader

Maybe this can be added to the FAQ, for the next user which ask for a preloder.
Looks like this does the same as simply putting Pale Moon in startup - with a drawback that it creates a hidden window (instead of one that you can close) that can interfere with other tools and installations because the browser will "already be running" at all times and locking your profile as a result.

I repeat though: this user says Pale Moon loads in 3 second from cold start... if you can't wait that long for an app to load, then you have different problems than a slow browser. Maybe need to lay off the power drinks or coffee? :lol:
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

stravinsky

Re: Palemoon launches instantly,lightening quick

Unread post by stravinsky » 2012-07-15, 10:29

A long,meaningfull message=
:lol:

sounds like beginning of a viagra spam mail :lol: :mrgreen:

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35651
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Palemoon launches instantly,lightening quick

Unread post by Moonchild » 2012-07-15, 10:46

stravinsky wrote:
A long,meaningfull message=
:lol:

sounds like beginning of a viagra spam mail :lol: :mrgreen:
The message is filled with rather high levels of self-importance, yes, but let's not trip over that.
Filtering that out it is a legitimate request; just not one that seems to be something I'm willing to put any time in.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

stravinsky

Re: Palemoon launches instantly,lightening quick

Unread post by stravinsky » 2012-07-15, 12:32

@moonchild :
2. some addons confirm the security of the addons by contacting a server for security certificate. depending on that server load and your net speed, this can slow your startup. Eg. : "element hiding helper".
this is a real bug that i read about in bugzilla.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35651
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Palemoon launches instantly,lightening quick

Unread post by Moonchild » 2012-07-15, 12:58

stravinsky wrote:this is a real bug that i read about in bugzilla.
I don't see why add-on developers would design their add-on this way to begin with. They should make it an event to be checked after initialization. add-on design flaw in that case. What would they want to do, make the add-on initialization asynchronous to browser startup? You can't do that for non-restartless add-ons.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

megaman

Re: Palemoon launches instantly,lightening quick

Unread post by megaman » 2012-07-15, 16:24

The fastest is a Firefox preloader, not the one from the Mozilla's Add-ons site.
The external Pre-loader needs you to tweak PM by calling it firefox.exe, so it can read it.
The browser opens up rather quickly because of that.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35651
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Palemoon launches instantly,lightening quick

Unread post by Moonchild » 2012-07-15, 16:35

An external preloader can't initialize the add-ons, as stated before. If add-on initialization is (a large part of) the problem, then an external preloader won't help.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

megaman

Re: Palemoon launches instantly,lightening quick

Unread post by megaman » 2012-07-15, 16:42

Moonchild wrote:An external preloader can't initialize the add-ons, as stated before. If add-on initialization is (a large part of) the problem, then an external preloader won't help.
Correct, but the browser does pop up, because the process does not end.
Then again, I have 16 add-ons.
Sanji, are you really sure that you need so many?

There are programs I can advice and also ask you to defragment your computer. Yes, even the antivirus can also hold back, like Moonchild said, because of a quick check that seems longer than quick.

Who is to blame for all of this? The add-on developers. :)

Ryrynz

Re: Palemoon launches instantly,lightening quick

Unread post by Ryrynz » 2012-07-16, 01:17

Or why not make everything instantly quick by purchasing a fast SSD? I'm running a OCZ Vertex 4, I find SSDs to be quite affordable now.
I have over 40 addons and my Pale Moon starts up in just under 3 seconds. I don't find it annoying but shaving off a second would be nice I guess.
Expect some improvements in this area with future builds.