Have anyone else tried to UPX firefox 2.0.0.1?
Im getting this error:
File size Ratio Format Name
-------------------- ------ ----------- -----------
upx: firefox.exe: CantPackException: compressing certificate info is not support
ed
Packed 1 file: 0 ok, 1 error.
2.0 worked fine, are there any solution?
It's a signed binary. UPX can't compress these without messing up the certificate. So, it won't compress them. There is no workaround I am aware of.
Sometimes, the impossible can become possible, if you're awesome!
Argh...
Im seriusly thinking of moving to opera now firefox takes around 28mb with my extensions now.
You can compress signed binaries with the latest unstable beta versions of UPX.
Thanks for the information
And no 28mb is nothing today thats true, what i care about is how fast it starts.
I though UPX actually slowed executable startup time down because it had to decompress, although if true I guess that only an issues with slower pc's.
Yours
Steve Lamerton
To start application, OS needs to load it to memory. Because upxed executables are smaller - you need less time for that. But then comes decompression.
What's more important? It depends on the machine you're connected to. Slow CPU means slower decompression. USB 1 - slow load time. (Actually slow CPUs and USB 1 usually come together...)When you have some background calculations - decompression times will significantly grow. When you're moving some files from your usb drive - the same happens to load times.
From my experience: when you run from hard drive - uncompressed executable will start faster.
USB2 - it highly depends on your compressor, your drive speed, CPU. executables compressed with LZMA compression (most compressors use it: upx 2.9x beta, MEW, Upack, kkrunchy, PECompact) are slower. UPX 2.0 doesn't use LZMA, because of this it makes quite big executables, but decompresses them faster. It's still slightly slower then uncompressed exe. But it varies on executable (some files compress really well and then load time can be significantly reduced. Example: libethereal.dll 30 -> c.a. 3 MB)
USB 1.1 - uncompressed exe will hardly start fast. Even Upacked files(Upack has really slow decompression stub) files are usually faster.
"Those people who think they know everything are a great annoyance to those of us who do." Asimov
That's why I use UPX 2.0 (no lzma). It's a solid balance of size and speed. And you shouldn't use 2.9 for production stuff (this right from the developer's mouth's).
Plus, you can't use any of the other app compressors on GPL/LGPL/etc binaries and redistribute. It's illegal.
Sometimes, the impossible can become possible, if you're awesome!
USB flash drives are getting cheaper and bigger on an almost weekly basis. To the point that we're around $10 per GB now. Most places don't even bother stocking anything smaller than 512MB... and they'll be ditching those sizes within a month or so. In another 6-12 months, 8GB and higher drives will be the norm. 16GB drives are already readily available for not too much of a premium over the $10 per GB rate.
So, while 28MB may have been big when 32MB drives were the norm, it's a different world now.
Sometimes, the impossible can become possible, if you're awesome!
yourselfyour country, I got a 512MB for AUD$50----
Ryan McCue
Person 1: Oh my god. You will never believe what just happened.
Person 2: What?
Person 1: I can't remember, I've forgotten.
"If you're not part of the solution, you're part of the precipitate."
my shiny new drive cost me £9.50, which is US$18.53 or AU$23.54, not a bad price if I do say so myself
Yours
Steve Lamerton