]> granicus.if.org Git - procps-ng/commit
top: minimized default fields requested of our library
authorJim Warner <james.warner@comcast.net>
Sun, 21 Aug 2016 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Tue, 23 Aug 2016 11:11:09 +0000 (21:11 +1000)
commit4e4debda9bd7a56c99c5a6ce80f6c7e1e0da79cd
tree2b9e203b1ebe36ccae9f4c14de8a60c04c8946e7
parent4fe42d0be958a6fdf7d34e0b229fe7e872b02bee
top: minimized default fields requested of our library

After doing some profiling and timings, then comparing
newlib top to the existing 3.3.12 version, I concluded
top should avoid stack results unless actually needed.

Not only will stack depth be kept to minimums, but the
new library can save some otherwise wasted pathlength.

Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.c