Speed Up Google Chrome by optimizing the database

Google Chrome is already one of the fastest browsers available, but this doesn’t means that we can’t squeeze a little bit more speed out of it.
Note that the following works only on Linux.
In order to do it, we first need sqlite3.

For Ubuntu and Debian derivates install it with the following command from the terminal:
sudo apt-get install sqlite3
For Gentoo the command is the following:
sudo emerge sqlite3
On other distributions use the relative package manager.
Once installed, close Google Chrome and from a terminal go inside the Google Chrome configuration directory:
cd ~/.config/google-chrome/Default
And give the following commands:

for i in `file *|grep SQL|cut -f1 -d:`; do echo "VACUUM;" | sqlite3 $i ; echo $i Ok; done
cd *Storage && for i in `file *|grep SQL|cut -f1 -d:`; do echo "VACUUM;" | sqlite3 $i ; echo $i Ok; done

And now you can open Google Chrome again.