#328291 - 27/12/2009 22:33
A Mac/Firefox curiosity
|
carpal tunnel
Registered: 17/12/2000
Posts: 2665
Loc: Manteca, California
|
Typically I boot the MBP and as soon as I get around to it start Firefox. Sometimes FF starts with one bounce of the icon in the dock, other times it takes 5-6 bounces. Safari always starts on the first bounce.
So why does FF have such a variability in it's start time?
_________________________
Glenn
|
Top
|
|
|
|
#328293 - 27/12/2009 23:05
Re: A Mac/Firefox curiosity
[Re: mlord]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14493
Loc: Canada
|
Mmmm.. actually, I'd always assumed that Firefox was simply "calling home" at startup.
So just now, I started WireShark before Firefox to find out. It appears to be doing DNS lookups during startup, for a large number of my bookmarks.
Cheers
|
Top
|
|
|
|
#328294 - 27/12/2009 23:25
Re: A Mac/Firefox curiosity
[Re: mlord]
|
carpal tunnel
Registered: 17/12/2000
Posts: 2665
Loc: Manteca, California
|
Thanks Me, going now, to investigate the options in about:config.
_________________________
Glenn
|
Top
|
|
|
|
#328303 - 28/12/2009 17:55
Re: A Mac/Firefox curiosity
[Re: mlord]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
|
I'm pretty sure those DNS lookups are part of its initial cache filling (it does that load-ahead trick for links I seem to recall).
Are you certain that the DNS lookups are the reason it starts slowly, though? I'd expect they'd make that sort of thing a non-blocking background thread.
|
Top
|
|
|
|
#328304 - 28/12/2009 17:58
Re: A Mac/Firefox curiosity
[Re: tfabris]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
|
Speaking of slow firefox startup, I have the following issue:
When I begin typing in the navigation bar, the very first time I do it, the keyboard is slow to respond.
For instance, if I boot up the computer, and the first thing I do is open Firefox, then I type "empegbbs.com", after I press the first "e" there is a long pause before the rest of the letters appear.
It appears to be trying to scan through my browser history for populating the automatic drop-down list that appears when I begin typing. As soon as that list is loaded and appears, then firefox starts responding normally again.
Does anyone else get this, and is there a way to optimize this feature (perhaps an about:config entry) that makes the drop-down list into a non-blocking operation?
|
Top
|
|
|
|
#328305 - 28/12/2009 18:06
Re: A Mac/Firefox curiosity
[Re: tfabris]
|
carpal tunnel
Registered: 23/09/2000
Posts: 3608
Loc: Minnetonka, MN
|
I don't get that but I have it set to not keep any history. If I start typing empegbbs.com it does show stuff I have bookmarked but it doesn't slow down it comes up as soon as I type the e.
_________________________
Matt
|
Top
|
|
|
|
#328307 - 28/12/2009 18:18
Re: A Mac/Firefox curiosity
[Re: msaeger]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
|
I don't get that but I have it set to not keep any history. If I start typing empegbbs.com it does show stuff I have bookmarked but it doesn't slow down it comes up as soon as I type the e. See, I'm the opposite. Now I actually use that drop-down list in place of bookmarks. I don't keep bookmarks any more, I just use that history list. That list gets sorted according to usage, so even if I have a bunch of items in my history that start with "e", I always get the EmpegBBS when I type an e. So that makes it really useful in the long run. And it's surprising how well-distributed through the alphabet my favorite sites are. P gets me Penny Arcade, X gets me XKCD, B gets me Blue's News, etc. And for the rest, two letters is usually enough. I just wish it didn't freeze for a long time on its first usage. (Actually, I don't mind it taking a long time, I just can't stand the fact that it blocks my typing input thread while it's spooling up.) I suppose that my dependence upon the list is the reason it's slow on first usage. Probably takes some doing to sort through the history data.
Edited by tfabris (28/12/2009 18:19)
|
Top
|
|
|
|
#328309 - 28/12/2009 18:45
Re: A Mac/Firefox curiosity
[Re: tfabris]
|
carpal tunnel
Registered: 23/09/2000
Posts: 3608
Loc: Minnetonka, MN
|
Yeah i'm probably just stupid but I still don't want my browsing history on there for anyone to see. I'm pretty much the only one who uses the computer and I don't look at anything that would get me in trouble with anyone.
_________________________
Matt
|
Top
|
|
|
|
#328311 - 28/12/2009 18:56
Re: A Mac/Firefox curiosity
[Re: gbeer]
|
Mojo
Unregistered
|
Perhaps it's installing an update.
|
Top
|
|
|
|
#328330 - 29/12/2009 20:07
Re: A Mac/Firefox curiosity
[Re: tfabris]
|
carpal tunnel
Registered: 17/12/2000
Posts: 2665
Loc: Manteca, California
|
Speaking of slow firefox startup, I have the following issue:
When I begin typing in the navigation bar, the very first time I do it, the keyboard is slow to respond.
For instance, if I boot up the computer, and the first thing I do is open Firefox, then I type "empegbbs.com", after I press the first "e" there is a long pause before the rest of the letters appear.
It appears to be trying to scan through my browser history for populating the automatic drop-down list that appears when I begin typing. As soon as that list is loaded and appears, then firefox starts responding normally again.
Does anyone else get this, and is there a way to optimize this feature (perhaps an about:config entry) that makes the drop-down list into a non-blocking operation? I don't see that, but I have several url related config options set: browser.search.suggest.enabled false keyword.enabled false browser.urlbar.default.behavior 2 < masking detailsedit: and also this browser.urlbar.autocomplete.enabled false
Edited by gbeer (30/12/2009 19:11)
_________________________
Glenn
|
Top
|
|
|
|
#328332 - 29/12/2009 20:32
Re: A Mac/Firefox curiosity
[Re: tfabris]
|
carpal tunnel
Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
|
Does anyone else get this, and is there a way to optimize this feature (perhaps an about:config entry) that makes the drop-down list into a non-blocking operation? I certainly get a slightly longer delay the first time in a session I use it: the disk light goes on, and the UI thread appears to be blocked. Which is odd on the face of it, as all the rest of the time that feature is very clearly non-blocking. What I suspect is going on, is that at that moment it scans the whole history database (on Unix, ~/.mozilla/firefox/<i>profile</i>/places.sqlite), pulling in all the pages and generating so much disk I/O that when the UI thread then hits a non-resident page and pages it in, it has to wait in an I/O queue. A defragmenter would probably help, but apart from that what you really want is for the history-database thread to have lower I/O priority than everything else -- on Linux this is ionice(1) or ioprio_set(2), but I don't know whether Windows or Mac has equivalent settings. Peter
|
Top
|
|
|
|
#328333 - 29/12/2009 20:38
Re: A Mac/Firefox curiosity
[Re: peter]
|
carpal tunnel
Registered: 23/09/2000
Posts: 3608
Loc: Minnetonka, MN
|
A somewhat related question I have is can I stop google or whatever from stealing the cursor on startup ? If I click on the address bar too quick when starting the cursor goes back to google in the middle of the address I am trying to enter.
_________________________
Matt
|
Top
|
|
|
|
#328335 - 29/12/2009 21:33
Re: A Mac/Firefox curiosity
[Re: msaeger]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
Set your home page to "about:blank" instead of some web site that you probably don't use anyway.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#328337 - 29/12/2009 21:40
Re: A Mac/Firefox curiosity
[Re: mlord]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
I might suspect "Live Bookmarks", too. Or not.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#328340 - 29/12/2009 21:58
Re: A Mac/Firefox curiosity
[Re: wfaulk]
|
carpal tunnel
Registered: 23/09/2000
Posts: 3608
Loc: Minnetonka, MN
|
I have it set to google which I do frequently use. I would have to keep track to see if I do a search or type in an address as the first thing I do after starting firefox.
_________________________
Matt
|
Top
|
|
|
|
#328341 - 29/12/2009 22:09
Re: A Mac/Firefox curiosity
[Re: msaeger]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
|
You're aware that:
1. You can activate a google search box next to the address bar box (in fact it's there by default IIRC), so that you get the same benefit of having a google search available without having to set your home page to google?
2. Typing a search phrase into the address bar also launches a google search, so that you get the benefit without having to have either of the above things?
|
Top
|
|
|
|
#328343 - 29/12/2009 22:37
Re: A Mac/Firefox curiosity
[Re: tfabris]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
Or, even better, dump both and set up keyword searches for Google and all the other sites you frequently search on. I have Google's keyword set to "g" so if I want to search for widgets, I can just type "<Ctrl-L>g widgets<Enter>" from any browser window. Or change the <Ctrl-L> to a <Ctrl-T> to open a new tab, which doesn't waste bandwidth loading a page I don't need and doesn't steal my focus from the URL bar.
I also frequently use keywords for Wikipedia, IMDB, Youtube, and a bunch more.
Edited by wfaulk (29/12/2009 22:38)
_________________________
Bitt Faulk
|
Top
|
|
|
|
#328344 - 29/12/2009 22:43
Re: A Mac/Firefox curiosity
[Re: tfabris]
|
carpal tunnel
Registered: 23/09/2000
Posts: 3608
Loc: Minnetonka, MN
|
Yeah I have the google search next to the address bar but I still want google as my home page i'm a crotchety old man I guess. When I type a random word into the address bar it appears to do a "i'm feeling lucky" google search which is kind of neat. I did figure out how to stop it from stealing the cursor Link i'll see which way I like it better. No I did not ask the question in 2008
_________________________
Matt
|
Top
|
|
|
|
#328347 - 30/12/2009 05:48
Re: A Mac/Firefox curiosity
[Re: peter]
|
carpal tunnel
Registered: 18/01/2000
Posts: 5683
Loc: London, UK
|
what you really want is for the history-database thread to have lower I/O priority than everything else -- on Linux this is ionice(1) or ioprio_set(2), but I don't know whether Windows or Mac has equivalent settings. It has something similar since Windows Vista.
_________________________
-- roger
|
Top
|
|
|
|
#328719 - 14/01/2010 17:08
Re: A Mac/Firefox curiosity
[Re: gbeer]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
|
I have several url related config options set: browser.search.suggest.enabled false keyword.enabled false browser.urlbar.default.behavior 2 < masking detailsedit: and also this browser.urlbar.autocomplete.enabled false Following up on this: I've been able to significantly speed up my Firefox URL bar on first use by setting the following settings:
browser.urlbar.default.behavior 1
Browser.urlbar.search.chunkSize 25
Browser.urlbar.search.timeout 5
Browser.urlbar.maxRichResults 4
I'll probably fiddle with those settings more. Details of what all the options do are here: http://kb.mozillazine.org/About:config_entries
|
Top
|
|
|
|
#328792 - 16/01/2010 05:32
Re: A Mac/Firefox curiosity
[Re: tfabris]
|
carpal tunnel
Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
|
As luck would have it, this extension popped up in my RSS reader tonight. Seems to work as advertised for me -- fetching of the URL bar suggestions and searching of history items is noticeably faster. I also happened upon this little tip earlier in the week. For keyword search bookmarks, you can use some simple javascript to go to different URLs depending on whether you supply a keyword or not. e.g. for Wikipedia, I have keyword "wp" set to: javascript:if('%s')%20location.href='http://en.wikipedia.org/wiki/Special:Search?search=%s';else%20location.href='http://en.wikipedia.org/wiki/Main_Page'; So, if I just type "wp" I go to the main wikipedia page, but if I supply a keyword, it searches for it. Soemthing I always thought would be nice but didn't realize was possible until now.
|
Top
|
|
|
|
#328809 - 16/01/2010 20:29
Re: A Mac/Firefox curiosity
[Re: tonyc]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
|
|
Top
|
|
|
|
#328810 - 16/01/2010 22:08
Re: A Mac/Firefox curiosity
[Re: tonyc]
|
carpal tunnel
Registered: 24/12/2001
Posts: 5528
|
I also happened upon this little tip earlier in the week. For keyword search bookmarks, you can use some simple javascript to go to different URLs depending on whether you supply a keyword or not. e.g. for Wikipedia, I have keyword "wp" set to:
javascript:if('%s')%20location.href='http://en.wikipedia.org/wiki/Special:Search?search=%s';else%20location.href='http://en.wikipedia.org/wiki/Main_Page';
So, if I just type "wp" I go to the main wikipedia page, but if I supply a keyword, it searches for it. Soemthing I always thought would be nice but didn't realize was possible until now. Doesn't the search engine keyword feature do this already? I guess it doesn't do the if no search terms then go to main page part.
Edited by tman (16/01/2010 22:09)
|
Top
|
|
|
|
#328834 - 18/01/2010 13:18
Re: A Mac/Firefox curiosity
[Re: tman]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
Correct. That's the part he was fixing.
_________________________
Bitt Faulk
|
Top
|
|
|
|
|
|