[PATCH 3/3] parse_config: use getline to read config

Denys Vlasenko vda.linux at googlemail.com
Sun Jun 19 02:54:34 UTC 2011


On Saturday 18 June 2011 17:56, Timo Teräs wrote:
> Speeds up considerably config file parsing.
> 
> Signed-off-by: Timo Teräs <timo.teras at iki.fi>

# 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.
-- 
vda


More information about the busybox mailing list