Firefox Starts Slow With Zotero
I recently installed Zotero 1.5, and I now notice that my Firefox is starting slow. I double click the icon, and nothing happens for several seconds, not even a cursor change. Previously, the Firefox window was up after just 1-2 seconds. Disabling Zotero in Tools->Add-ons restores the previous speedy startup behavior.
Anyone else have this problem? Is there any settings I can change to reduce the Zotero burden in Firefox Startup (e.g. deferring processing until I actually click on the Zotero icon)? Any other suggestions?
BTW, Zotero 1.5-sync2.1 on Firefox 3.0.1 on Windows XP.
Anyone else have this problem? Is there any settings I can change to reduce the Zotero burden in Firefox Startup (e.g. deferring processing until I actually click on the Zotero icon)? Any other suggestions?
BTW, Zotero 1.5-sync2.1 on Firefox 3.0.1 on Windows XP.
1) How many items do you have? (Click an item in the middle pane, Select All, and look in the right pane to see the number of top-level items.)
2) Start Firefox with debug output enabled and see if there are any lines where there are long delays.
2) restarted windows and ran Firefox as you suggested, but there was no slowdown. since i got "zotero(4): Not enough time since last update -- not checking repository" this doesn't really do anything for my theory. will try again tomorrow, if i don't forget. :)
2) Items scroll by steadily. I then tried setting both debug.log and debug.time to true. (debug.level is at the default 5). The largest number is for "zotero(4)(+0002741): Translate: Binding sandbox to http://www.google.com/" (Google is my homepage) followed by at "zotero(4)(+0001554):Registering observer for [collection,search,share] in notifier with hash Xr", although I can't say the scroll "hangs" at either. The rest of the numbers are +0000200 and below. (Both data and file syncing were enabled for these trials.)
It's probably not a daily update, as I can consistently get a 10+ second startup time multiple times in a row simply by rebooting my computer.
Do you get the same slowdown if you just quit Firefox and restart it without restarting your computer? Also, what are your hardware specs?
Firefox Portable: 3.0
Z: 1.5-sync2.2
352 refs.
From the timed output I think that it is updating the translator every time. I am sending a copy to the support email address.
I switch around computers but they are all modern: > 1 Gb RAM, Pentium 4 ~3GHz.
But, judging by your debug output, it's still taking way too long for you. Does the "Cached 267 translators in.." line take ~7 seconds every time? Do you have both Firefox and the data directory on a USB drive? Is the USB drive flash or hard drive?
In our testing, it should take well under a second on recent machines.
I have synced my library with my laptop to test the startup speed. Zotero and FF (both latest versions) run off the internal hard drive. Without the library FF started up in a second or so. After syncing my library it takes the 20-30 secs that I see on my other computers. Anything I can do to help with tracking down the bug? I can send you the library if it helps.
I have noted the console debug output as suggested above. Zotero spends a good second or two at each of the 267 "Updating translators" lines. In total I clocked the Updating Translators phase at 58 seconds, although the debug output reports a time of 3163 ms at the "Cached 267 translators ..." line. Once the translators are updated the lines whizz past in the console and the browser window quickly appears.
I tried unchecking the "Automatically update translators" and "Report broken translators" option in the General tab of Preferences but this made no difference to either the total Firefox startup time or the time spent "Updating translators" in the console debug.
I'm running FF v3.0.3 and Zotero 1.5-sync2.2 and I have this issue on two recent-model computers under XP and Vista.
Do you have anti-virus software installed? Anything else that might be slowing down disk access?
Thanks!
Are there any non-standard services running on your machine?
My greatest problem with zotero at the moment is the lack of documentation. I tend to stumble upon some of the great features E.g. changing title case, saved searches. A minor gripe.
Since I'm now updated to Firefox 3.03 and Zotero 1.5-sync3.2 (Still on Windows XP, with all updates applied) I decided I'd better redo the timings to see if things improved. Like before, slow downs only seems to happen at the first launch after restart - subsequent starts of Firefox without reboot are a uniform 2-3 s (All times are from double clicking the desktop icon to flashing cursor in the search box of the Google homepage). Note that I waited for the OS to finish loading completely before I started firefox, and I still have an empty Zotero library.
For some reason the first time I tested it, the base time (with Zotero disabled) went up from before (now 16 s), but enabling Zotero still added several seconds (23 s total). Most of that extra time was with at blank Firefox screen with "looking up clients1.google.com" in the status bar. When I changed to "Show a blank page" instead of showing the Google homepage, I got a blinking address bar cursor in a speedy 2 s (Manually going to Google was an additional 10 s or so).
Since I have a number of other extensions (NoScript, FlashBlock, etc.) I decided to see if they were slowing start-up (with a Google start page). I disabled a select few (down to 2 s), and then added them back one-by-one. Surprisingly, when I had reactivated all but Zotero, I was still at 3 s. Adding Zotero back gave a 13 s total startup. This time I deactivated everything (2 s) and then re-enabled Zotero only (8 s). Adding the others back in, and I had *decreased* to 6 s. (Again, times are for starting Firefox the first time after restarting the computer - subsequent launching of Firefox was a consistent 2-3s. Also, after disabling/re-enabling extensions I restarted Firefox before rebooting to finalize the changes.)
If others are having slow startup problems, it may be worth going to the Tools->Add-Ons->Extensions tab, and clicking the "Disable" button for each entry there. Restart your computer, and then re-enable all the extensions. I don't know why it worked for me, but it seemed to help - I saw significant speed improvements each time after disabling and then re-enabling extensions.