You are here

7zip and peazip sfx size differs

4 posts / 0 new
Last post
silentcon
silentcon's picture
Offline
Last seen: 11 years 12 months ago
Joined: 2008-05-31 05:37
7zip and peazip sfx size differs

I can't give you raw data but you might as well try it. peazip's sfx are a little bit smaller than 7zip's sfx.

---

Can you explain why?

Zach Thibeau
Zach Thibeau's picture
Offline
Last seen: 1 year 6 months ago
Developer
Joined: 2006-05-26 12:08
I believe it's because peazip

I believe it's because peazip includes upx in their package to decompress and compress exe files. so one would assume then Gorgiotani may of implemented the ability to use upx on the sfx'd exe when it is created making the exe smaller

your friendly neighbourhood moderator Zach Thibeau

silentcon
silentcon's picture
Offline
Last seen: 11 years 12 months ago
Joined: 2008-05-31 05:37
Since i don't know what is

Since i don't know what is the best file to put to test, i'll just use a blank folder.
7zip:137kb
Peazip:78kb
7zip w/upx:64.5kb

i used upx -9.

giorgiotani
Offline
Last seen: 3 years 11 months ago
Joined: 2006-12-05 06:03
As correctly Zach Thibeau

As correctly Zach Thibeau guessed, for PeaZip I compressed the sfx modules (edit: but not the final executable) with UPX.

The difference in size in your test is due to two factors: I've replaced the 7z's sfx icon with a larger true color icon, and probably you got some KB of better compression using the latest version of UPX which compresses a bit better than the version I've used when I compressed the modules.

Developer of PeaZip project

Log in or register to post comments