LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Password
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.

Notices


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

Rep: Reputation: 118Reputation: 118
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.7–8.3 per cent smaller than its rivals (PDF). The catch is that it takes one hundred times longer to do so.

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

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

Code:
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:
Code:
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 
16016567
bash-4.2$ stat -c '%s' ffmpeg.tar.xz 
12589128
...
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 
16370807
Conclusion: This "better" compression by Google is good-for-nothing. Try again.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 05:29 PM.

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