{"id":2079,"date":"2010-01-19T21:28:02","date_gmt":"2010-01-20T05:28:02","guid":{"rendered":"http:\/\/multimedia.cx\/eggs\/?p=2079"},"modified":"2010-01-20T10:20:57","modified_gmt":"2010-01-20T18:20:57","slug":"bzip2-vs-lzma","status":"publish","type":"post","link":"https:\/\/multimedia.cx\/eggs\/bzip2-vs-lzma\/","title":{"rendered":"Bzip2 vs. LZMA"},"content":{"rendered":"<p>Pursuant to <a href=\"http:\/\/multimedia.cx\/eggs\/archivists-burden\/\">some archiving projects<\/a> I want to conduct, I wanted to evaluate Bzip2 vs. LZMA for compression. I know that the latter is more efficient, size-wise, than the former while generally requiring more time on the compression side. But I wanted to know if the encoding time difference was very severe vs. the space saved. I also wanted to know how the relative decode speed compares.<\/p>\n<p>Methodology: For a number of large files that are each around 1.35 GB, measure the compression speed and ratio and then measure&#8230;<\/p>\n<p>You know what? This is the most basic type of profiling experiment to set up and I really don&#8217;t feel like describing the process, the hardware used, the variables carefully controlled, or graphing the data. Here&#8217;s what I came up with in my tests:<\/p>\n<ul>\n<li>Bzip2 is 2-2.3x faster to compress than LZMA.<\/li>\n<li>The Bzip2 files were 15-20% larger than the LZMA files.<\/li>\n<li>The LZMA files decompressed in nearly half the time of the Bzip2 files.<\/li>\n<\/ul>\n<p>Conclusion: I&#8217;ll be going with LZMA for my long-term archival projects.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Choosing between Bzip2 and LZMA<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2079","post","type-post","status-publish","format-standard","hentry","category-general"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/2079","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/comments?post=2079"}],"version-history":[{"count":4,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/2079\/revisions"}],"predecessor-version":[{"id":2083,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/2079\/revisions\/2083"}],"wp:attachment":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/media?parent=2079"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/categories?post=2079"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/tags?post=2079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}