LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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, 11:11 AM   #1
LXer
LXer NewsBot
 
Registered: Dec 2005
Posts: 96,903

Rep: Reputation: 96
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.

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

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
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


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 03:51 PM
LXer: Google Open Sources JPEG Assassin LXer Syndicated Linux News 0 10-02-2010 03:20 AM
Best compression algorithm for uploading over a 500 kbit/s connection from a slow PC cantab Linux - General 6 07-19-2010 05:43 PM
LXer: Google open sources Wave gravy LXer Syndicated Linux News 0 07-29-2009 12:01 AM
Slax with SquashFS-4 new compression algorithm and layered compression ratios? lincaptainhenryjbrown Linux - Software 2 06-19-2009 06:29 PM

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

All times are GMT -5. The time now is 11:12 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration