From 3afac4ce0659553ca3e3daf6a8b2131a0607e729 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 19 Jun 2007 13:46:24 +0000 Subject: top,ps: reduce CPU usage in decimal conversion (optional) text data bss dec hex filename 734651 3040 14416 752107 b79eb busybox_old 734751 3040 14416 752207 b7a4f busybox_unstripped --- libbb/Config.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libbb/Config.in') diff --git a/libbb/Config.in b/libbb/Config.in index 5f4e416dd..f82a2b1ce 100644 --- a/libbb/Config.in +++ b/libbb/Config.in @@ -26,6 +26,13 @@ config MD5_SIZE_VS_SPEED 2 3.0 5088 3 (smallest) 5.1 4912 +config FEATURE_FAST_TOP + bool "Faster /proc scanning code (+100 bytes)" + default n + help + This option makes top (and ps) ~20% faster (or 20% less CPU hungry), + but code size is slightly bigger. + config FEATURE_ETC_NETWORKS bool "Support for /etc/networks" default n -- cgit v1.2.3-55-g6feb