[U-Boot] [PATCH RFC] zlib: Optimize decompression

Peter Korsgaard
2009-11-19T14:51:02Z

>>>>> "Joakim" == Joakim Tjernlund <joakim.tjernlund@transmode.se> writes:

Hi,

>> On a mpc8347 board it's ~12% faster at decompressing the uImage (165ms).
>>
Joakim> Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
>>
>> Acked-by: Peter Korsgaard <jacmet@sunsite.dk>

Joakim> Thanks, question: How does this compare with your lzo uncompress?

Lzo is still slightly faster, but it only about ~5% (60ms). This is at
400MHz with very slow flash. With slower cpu/faster flash the difference
would probably be bigger (it certainly was when I compared with zlib
before your optimization).

I can rerun that test, but first I need to figure out why 2009.11-rc1 is
more than 1 second slower than 2009.08.

--
Bye, Peter Korsgaard