On 06/19/2011 05:54 AM, Denys Vlasenko wrote:
> On Saturday 18 June 2011 17:56, Timo Teräs wrote:
>> Speeds up considerably config file parsing.
>>
>> Signed-off-by: Timo Teräs <[email protected]>
> 
> # time ./z ./busybox_old 2>/dev/null
> real    0m5.337s
> user    0m4.655s
> sys     0m0.393s
> 
> # time ./z ./busybox 2>/dev/null
> real    0m5.150s
> user    0m4.291s
> sys     0m0.379s
> 
> Again, some win, but it's small. However, I use uclibc configured without 
> threads.

For both patches 1 and 3.

The speed up depends on the size of your modules.dep and the amount of
aliases in /etc/modprobe.d.

I was testing with stock Ubuntu kernel modules data, and speed up was
enough to justify the byte addition.

- Timo
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to