Escaped Thoughts

Sat, May 29, 2004

Mmm, Fruit

Pink asked me to take a look at a bug causing Camino to open very slowly for people with a lot of bookmarks (read: way too many) to see if I could find any low-hanging fruit. Some profiling pointed at most of the time being spent posting system notifications to other components of Camino, telling them that a bookmark had changed and to update appropriately.

Only, those other components don't exist while bookmarks are initially loading. They haven't been set up yet. The upshot being that the bookmark-reading part of launching Camino will be about 6-7x faster once my patch lands. It doesn't hang much lower than that.

Note: the only people likely to notice this are those insane enough to have bookmark files that are, like the one I was testing with, 3+ Mb. (For reference, mine, which I consider reasonably-sized, is 100 Kb.)

Other's Thoughts

Liberate Your Thoughts:

Name:
URL/Email:(optional)
Title:(optional)
Comment:

Comments containing links may be placed in a holding area pending review.

TrackBack ping me at: http://www.escapedthoughts.com/weblog/camino/P040528bookmarkspeed.trackback