KitzKikz  KitzKikz: FileCompressionTest   RecentChanges 
 PopularPages 
 SearchPages 
 Home | Trail - BookListRiftwar > FileCompressionTest
 

  For my own twisted interest, I ran a few unix file compression methods on the ["Declaration of Independence" http://earlyamerica.com/earlyamerica/freedom/doi/text.html] (html version).

|{ border=0 }{ align=right bgcolor=gray style=color:white }{ width=110 } __Method__ |{ width=100 } __Bytes__ |
|{ align=right } Uncompressed: | 13641 |
|{ align=right } gzip: | 5508 |

To really stress test the different unix compression programs, I concatenated 25,000 copies:

|{ border=0 }{ align=right bgcolor=gray style=color:white }{ width=110 } __Method__ |{ width=100 } __Bytes__ |{ width=100 } __Time__ |
|{ align=right } Uncompressed: | 341,025,000 | - |
|{ align=right } compress: | 90,666,281 | 3m39.374s |
|{ align=right } bzip2: | | > 1 hour |
|{ align=right } zip: | 2,378,380 | 1m51.983s |
|{ align=right } gzip: | 2,378,313 | 1m43.769s |
|{ border=0 }{ align=right bgcolor=gray style=color:white }{ width=110 } __Method__ |{ width=100 } __Bytes__ |{ width=100 } __Time__ |{ width=100 } __Ratio__ |
|{ align=right } Uncompressed: | 341,025,000 | - | 0.000% |
|{ align=right } compress: | 90,666,281 | 3m39.374s | 73.414% |
|{ align=right } bzip2: | ? | > 1 hour | ? |
|{ align=right } zip: | 2,378,380 | 1m51.983s | 99.303% |
|{ align=right } gzip: | 2,378,313 | 1m43.769s | 99.303% |

 

 
  ·  0.0818s