-
-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Description
tasklist seems to be round about 1 second slower when used with the verbose flag. Therefore, I propose making the /v flag optional.
Using timeit from the Windows Server 2003 Resource Kit Tools, I got the following outputs:
timeit tasklist:
Version Number: Windows NT 6.2 (Build 9200)
Exit Time: 5:05 pm, Friday, March 3 2017
Elapsed Time: 0:00:00.114
Process Time: 0:00:00.015
System Calls: 56499
Context Switches: 23459
Page Faults: 6867
Bytes Read: 1708
Bytes Written: 117698
Bytes Other: 1061894
timeit tasklist /v:
Version Number: Windows NT 6.2 (Build 9200)
Exit Time: 5:05 pm, Friday, March 3 2017
Elapsed Time: 0:00:01.359
Process Time: 0:00:00.062
System Calls: 244191
Context Switches: 65230
Page Faults: 43840
Bytes Read: 19524
Bytes Written: 648250
Bytes Other: 6542373
Hope I'm gonna be able to submit a PR soon. :)
EDIT: Just noticed there's already a closed issue regarding tasklist being slow: #4. It was closed as a wontfix. Making the /v flag optional, however, would be that missing fix.
Another question in this regard would be: Should the verbose option be true or false by default? I'm leaning towards false considering the performance impact.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels