Compression Comparison
I want to send files over the WAN, as they tend to be huge I may want to compress those before sending them. But which archiving tool to use?
the following table might help you to choose:
| Saving (s) | Extracting (s) | Size (bytes) | Ratio | |
| Original | - | - | 40,772,817 | 100% |
| ZIP | 10 | 9 | 23,555,749 | 57.8% |
| TGZ | 13 | 7 | 23,040,000 | 56.5% |
| RAR | 70 | 11 | 18,350,510 | 45.0% |
| 7-Zip-Low | 40 | 27 | 19,711,979 | 48.3% |
| 7-Zip-High | 55 | 29 | 17,281,293 | 42.4% |
ZIP and TGZ are very fast and are wide-spread, so everyone will be able to extract these formats on any platform without downloading extra software.
RAR has better (although the slowest) compression but is incredibly fast when decompressing.
However, I declare 7-Zip the winner. It has strong password encryption, can produce multi-volume archives, and the algorithms are open source and have been ported to many platforms.
Just in case you didn't know: TAR doesn't compress its contents. It just puts all the files into one big file for later compression with another program, e.g. GZip or BZip2 which in turn can only compress one single file. They're a perfect match.
KitKatNeko