unlzma shrink
Pascal Bellard
pascal.bellard at ads-lu.com
Mon Mar 3 10:23:29 UTC 2008
With this patch it takes about the same time :
function old new delta
unpack_lzma_stream 2482 2400 -82
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-82) Total: -82
bytes
$ grep LZMA_FAST .config
CONFIG_FEATURE_LZMA_FAST=y
$ ./busybox_old unlzma < ../linux-2.6.23.tar.lzma > /dev/null
Using fallback suid method
real 0m10.957s
user 0m10.901s
sys 0m0.044s
$ ./busybox_unstripped unlzma < ../linux-2.6.23.tar.lzma > /dev/null
Using fallback suid method
real 0m10.781s
user 0m10.713s
sys 0m0.056s
$ ./busybox_old unlzma < ../linux-2.6.23.tar.lzma | md5sum
Using fallback suid method
853c87de6fe51e57a0b10eb4dbb12113 -
$ ./busybox_unstripped unlzma < ../linux-2.6.23.tar.lzma | md5sum
Using fallback suid method
853c87de6fe51e57a0b10eb4dbb12113 -
> On Sunday 02 March 2008 14:48, Pascal Bellard wrote:
>> next step:
>>
>> function old new delta
>> unpack_lzma_stream 2398 2251 -147
>> ------------------------------------------------------------------------------
>> (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-147) Total: -147
>> bytes
>
> On this file:
>
> http://gnu.ethz.ch/lzma/linux/linux-2.6.23.tar.lzma
>
> "time unlzma <linux-2.6.23.tar.lzma >/dev/null"
> before patch I it takes ~8.75 seconds "user" time,
> after patch it's going up to ~9.04 seconds.
> --
> vda
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: decompress_unlzma.u
Type: application/octet-stream
Size: 1963 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20080303/3893149f/attachment-0002.obj
More information about the busybox
mailing list