[FFmpeg-devel] [PATCH 2/5] fate: avoid framemd5, use framecrc its faster

Nicolas George nicolas.george at normalesup.org
Thu May 9 15:16:12 CEST 2013


Le decadi 20 floréal, an CCXXI, compn a écrit :
> anyone check if our md5sum implementation was the fastest?

Very good point. It is not:

ffmpeg -f md5:  34.61s user 0.88s system
ffmpeg -f null: 16.69s user 0.92s system
md5sum (GNU):    6.69s user 0.80s system
openssl md5:     5.82s user 0.93s system

On a 1.657 Go file and Atom D525 1.80GHz.

So lavu's MD5 is somewhere between 2.5 and 5 times slower than GNU's, which
itself is 15% slower than OpenSSL. This is not a very careful benchmark, but
I believe it is enough to say that there is a lot of room for improvement in
lavu.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130509/313d745e/attachment.asc>


More information about the ffmpeg-devel mailing list