[Ffmpeg-devel] [PATCH] simple internal lzo decoder

Diego Biurrun diego
Sat Jan 14 14:37:59 CET 2006


On Sat, Jan 14, 2006 at 02:07:30PM +0100, Reimar D?ffinger wrote:
> On Thu, Jan 12, 2006 at 03:49:10PM +0100, Reimar at mplayerhq.hu wrote:
> > On Wed, Jan 11, 2006 at 12:09:58AM +0100, Michael Niedermayer wrote:
> > > btw, hows the speed of it compared to liblzo?
> > 
> > Actually, no idea, didn't check it (speed was not any consideration at
> > all).
> 
> I tested the speed, these are the values (+patch refers to the attached
> patch, that helps gcc being a bit less stupid. If there are no
> objections I will apply it tomorrow):
> 
> each 10MB uncompressed, looped 100 times,
> user time of time command, median of three runs,
> compiled with -O3 (gcc 3.4.4),
> run on Athlon 64 3200+ at 800 MHz in 64 bit mode
> 
> liblzo lzo.c (lzo.c + patch)

What about minilzo, the one included in the MPlayer sources?

> only zeros, 56325B comp:
> 8.89s 9.15s 8.48s
> 
> nwnmod, 2675408B comp:
> 6.68s 12.32s 7.98s

What is nwnmod?  Since I suppose this is the common case, there still
seems to be a bit of a performance gap to liblzo.

> /dev/urandom, 10527740B comp:
> 4.31s 7.55s 4.18s
> 
> But as I usually manage to screw something up when benchmarking things,
> take these with a grain of salt :-)

:)

Diego





More information about the ffmpeg-devel mailing list