Performance tip of the day

If your Firefox, like mine, insists on doing huge amounts of I/O when closing, as well as acts slow when using the awesomebar, try the following (close down Firefox completely first):

for f in ~/.mozilla/firefox/*/*.sqlite; do sqlite3 $f 'VACUUM;'; done

It’s harmless, no data will be lost: it compacts your SQLite databases. Noticable gains for me.

January 6, 2009 14:54