Skip to content
gtoubassi edited this page Mar 13, 2011 · 22 revisions

Performance

As of 4/13/2011, performance of femtozip vs gzip/deflate and gzip/deflate+dictionary:

Algorithm Compression time (millis) Decompression time (millis)
FemtoZip 1568 73
GZip 283 81
GZip+Dict 2886 359

Methodology

  • 10000 documents generated by cpp-datagen.
  • Generate default (femtozip) model and gzip (--models GZip) and gzip+dioct (--models GZipDictionary)
  • Compress using command line like: ./fzip --model /tmp/user-json/model.fzm --compress --benchmark /tmp/user-json/test
  • Compress using command line like: ./fzip --model /tmp/user-json/model.fzm --decompress --benchmark /tmp/user-json/test-fz
  • Average of 5 runs on macbook air
  • Note --benchmark doesn't actually write out the output files, so to do the decompress you will have to run it once without --benchmark to generate those files.
Clone this wiki locally