diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-16 11:40:10 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-16 11:40:10 +0200 |
commit | d80302db999d8cb92530333801e05652060177c4 (patch) | |
tree | fd762f78d658f1f4676bcb2908c2c30678e3634c /scripts/kconfig/lxdialog/lxdialog.c | |
parent | 9832bbaba966f0e52e183f10cd93fad7f8f643fe (diff) | |
download | busybox-d80302db999d8cb92530333801e05652060177c4.tar.gz |
top: switch to malloced "globals".
This seems to be more efficient:
function old new delta
clearmems - 28 +28
display_process_list 1001 1018 +17
read_cpu_jiffy 171 177 +6
do_stats 194 198 +4
reset_term 20 23 +3
topmem_sort 63 65 +2
mult_lvl_cmp 44 45 +1
get_jiffy_counts 247 248 +1
display_topmem_process_list 549 546 -3
top_main 912 879 -33
handle_input 630 549 -81
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 7/3 up/down: 62/-117) Total: -55 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts/kconfig/lxdialog/lxdialog.c')
0 files changed, 0 insertions, 0 deletions