Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.


  Search this Thread
Old 03-01-2013, 10:11 AM   #1
LXer NewsBot
Registered: Dec 2005
Posts: 99,757

Rep: Reputation: 102Reputation: 102
LXer: Google open sources very slow compression algorithm

Published at LXer:

Google has open sourced a new compression algorithm called Zopfli that it says is a slower-but-stronger data squasher than the likes of zlib. The product of Googler Lode Vandevenne's 20 per cent time, the day a week Google allows its staff to work on side projects, Zopfli is said to reduce files to sizes 3.78.3 per cent smaller than its rivals (PDF). The catch is that it takes one hundred times longer to do so.

Old 03-01-2013, 12:15 PM   #2
LQ Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289
Here's the result of my benchmark:

compr		time		size		x times slower		%size of gz
zopfli		445.148		16016567	151.97			 97.83
xz		 25.586		12589128	  7.79			 76.89
gz		  2.910		16370807	  0			100
Commands used:
bash-4.2$ tar -cf ffmpeg.tar ffmpeg-linux64-20130223/
bash-4.2$ time ./zopfli ffmpeg.tar 

real	7m25.148s
user	7m24.669s
sys	0m0.397s
bash-4.2$ time xz ffmpeg.tar

real	0m25.586s
user	0m25.462s
sys	0m0.118s
bash-4.2$ stat -c '%s' ffmpeg.tar.gz 
bash-4.2$ stat -c '%s' ffmpeg.tar.xz 
bash-4.2$ time gzip ffmpeg.tar

real	0m2.910s
user	0m2.869s
sys	0m0.040s
bash-4.2$ stat -c '%s' ffmpeg.tar.gz 
Conclusion: This "better" compression by Google is good-for-nothing. Try again.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Google open sources Android 4.2 LXer Syndicated Linux News 0 11-14-2012 02:51 PM
LXer: Google Open Sources JPEG Assassin LXer Syndicated Linux News 0 10-02-2010 02:20 AM
Best compression algorithm for uploading over a 500 kbit/s connection from a slow PC cantab Linux - General 6 07-19-2010 04:43 PM
LXer: Google open sources Wave gravy LXer Syndicated Linux News 0 07-28-2009 11:01 PM
Slax with SquashFS-4 new compression algorithm and layered compression ratios? lincaptainhenryjbrown Linux - Software 2 06-19-2009 05:29 PM > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 06:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration