Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Moz size-reduction< Next Oldest | Next Newest >
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Oct. 24 2007,15:58 QUOTE

Afaik from previous posts, flash9 depends on gtk2.
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Oct. 24 2007,16:38 QUOTE

The fact Flash itself depends on gtk2 should not mean FF needs to have it too, does it?

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Oct. 24 2007,19:36 QUOTE

Well, iirc gtk2 and "gtk2 capable browser".  Not sure what that means.
Back to top
Profile PM 
stupid_idiot Offline





Group: Members
Posts: 344
Joined: Oct. 2006
Posted: Oct. 25 2007,02:45 QUOTE

Quote (curaga @ Oct. 24 2007,18:53)
1) the swiftfox way: drop pango support; some size decrease
This is worth a try!
Quote
2) with gtk1; more size decrease
Looking at 'ldd libflashplayer.so', Flash 9 seems to need gtk2.
Quote
3) with Xlib; most size decrease & most speed increase
I once tried '--enable-default-toolkit=xlib', it would inadvertantly quit after a few user actions (e.g. 'open webpage', 'click on link', 'Huh?'). At that time, I did recompile to make sure it was not a fluke. Perhaps I put something wrong in '.mozconfig'? Flash 7 could work - 'libflashplayer.so' [v7] only needs xlibs, not gtk1.2.
Quote
4) when I compiled FF shared, instead of the 11mb half-static official binary, firefox-bin was 74k, loading times dropped, and the total dir size was ~400k smaller than the official..
Yes, 'firefox-bin' decreases, but the 'components/' directory increases exponentially since functions are put in 'components/' as '.xpt' files. If we have a single large 'firefox-bin', we probably would get higher compression with upx, versus many smaller files compressed with gzip.
Quote
How much did loading times grow on a P1? Or is general browsing on low comps slower?
The .jar's were packed without compression to archieve speed.
If all Mozilla extensions were slowed down, how would that affect those without too much processing power?
Yes, I agree this needs to be tested on low-end machines (P1/P2, yes?). Unfortunately, I don't have an old PC any longer; maybe someone else can test.
Back to top
Profile PM 
stupid_idiot Offline





Group: Members
Posts: 344
Joined: Oct. 2006
Posted: Oct. 25 2007,03:02 QUOTE

Comparison:
- Comments were stripped from .js files in 'components/'.
- Did 'sstrip' on .so files in 'components/'.
- For FF-2.0, I removed these files from 'components/':
Code Sample
libmozgnome.so libmyspell.so libnkgnomevfs.so libspellchecker.so

Official FF 2.0.0.7:
Code Sample
1. sstrip firefox-bin
2. upx --best firefox-bin
3. du -cs components/ firefox-bin
1648    components/
4104    firefox-bin
5752    total
4. tar -zcf test.tar.gz components/ firefox-bin
5.  du test.tar.gz
4548    test.tar.gz
FF-1.0.6 from DSL:
Code Sample
1. sstrip firefox-bin
2. du -cs components/ firefox-bin
11628   components/
68      firefox-bin
11696   total
3. tar -zcf test.tar.gz components/ firefox-bin
4. du test.tar.gz
4768    test.tar.gz
Back to top
Profile PM 
9 replies since Oct. 23 2007,18:24 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: Moz size-reduction

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code