summaryrefslogtreecommitdiff
path: root/libbb/Config.in
diff options
context:
space:
mode:
authorDenis Vlasenko2007-06-19 13:46:24 +0000
committerDenis Vlasenko2007-06-19 13:46:24 +0000
commit3afac4ce0659553ca3e3daf6a8b2131a0607e729 (patch)
tree6bb173fc034d8e717c5120566341650618e354ac /libbb/Config.in
parent08a61180ceeafaa09e33ef5afc8af45a219ccdf1 (diff)
downloadbusybox-3afac4ce0659553ca3e3daf6a8b2131a0607e729.zip
busybox-3afac4ce0659553ca3e3daf6a8b2131a0607e729.tar.gz
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
Diffstat (limited to 'libbb/Config.in')
-rw-r--r--libbb/Config.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/libbb/Config.in b/libbb/Config.in
index 5f4e416..f82a2b1 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