ruario |
09-14-2012 02:30 AM |
Quote:
Originally Posted by yilez
(Post 4779770)
I didn't want a bloated browser with tonnes of stuff I didn't use.
|
Bloated in what sense? Yes, it has a lots of features including stuff like built in bittorrent, IRC, mail, etc. but you can just ignore these features if you don't want them. Opera has always been and remains a relatively small browser:
Code:
$ wget -q http://ftp.opera.com/pub/opera/linux/1202/opera-12.02-1578.x86_64.linux.tar.xz http://download.cdn.mozilla.net/pub/mozilla.org/seamonkey/releases/2.12.1/linux-i686/en-US/seamonkey-2.12.1.tar.bz2 http://download.cdn.mozilla.net/pub/mozilla.org/firefox/releases/15.0.1/linux-i686/en-US/firefox-15.0.1.tar.bz2 http://dl.google.com/linux/chrome/rpm/stable/i386/google-chrome-stable-21.0.1180.89-154005.i386.rpm
$ tar xf opera-12.02-1578.x86_64.linux.tar.xz --xform 's/opera-12.02-1578.x86_64.linux/opera/'
$ tar xf seamonkey-2.12.1.tar.bz2
$ tar xf firefox-15.0.1.tar.bz2
$ rpm2cpio google-chrome-stable-21.0.1180.89-154005.i386.rpm | (mkdir chrome; cd chrome; cpio --quiet -id)
$ du -hs --apparent-size opera seamonkey firefox chrome | sort -n
35M firefox
42M seamonkey
43M opera
113M chrome
So we are 1Mb bigger than Seamonkey and 8Mb bigger than Firefox but Chrome includes 53 translations in their package and we include 60 translations, while the Seamonkey and Firefox packages I downloaded have just 1 each (en_US). These bundled translations account for a large percentage of the package sizes.
Code:
$ du -hs --apparent-size opera/share/opera/locale chrome/opt/google/chrome/locales | sort -n
14M chrome/opt/google/chrome/locales
16M opera/share/opera/locale
Let's try that again with the the extra translations removed:
Code:
$ /bin/ls chrome/opt/google/chrome/locales/* | grep -v en-US.pak | xargs rm
$ find opera/share/opera/locale -maxdepth 1 -type d | grep -Evx "opera/share/opera/locale(/en)*" | xargs rm -fr
$ du -hs --apparent-size opera seamonkey firefox chrome | sort -n
28M opera
35M firefox
42M seamonkey
100M chrome
Now we find that Opera is actually the smallest, despite having the most complete feature set out of the box.
P.S. I have no idea why Chrome is so big, especially when everyone is under the impression that it is so small and "lightweight". They do bundle the Flash plugin but removing that does not seem to account for the difference, since it is still more than double the size of Seamonkey and more than triple the size of Opera:
Code:
$ rm chrome/opt/google/chrome/PepperFlash/libpepflashplayer.so
$ du -hs --apparent-size chrome
87M chrome
P.P.S. If you want further evidence of exactly how lightweight Opera is, consider also the dependencies. To start you off I should point out that Opera is the only "major", graphical Linux web browser that can run without any Gtk or Qt/KDE libs present. ;)
|