Escaped Thoughts

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