How do I measure execution time of a command on the Windows command line?

后端 未结 30 3288
南笙
南笙 2020-11-22 09:44

Is there a built-in way to measure execution time of a command on the Windows command line?

30条回答
  •  萌比男神i
    2020-11-22 09:59

    I use freeware called "GS Timer".

    Just make a batch file like this:

    timer
    yourapp.exe
    timer /s
    

    If you need a set of times, just pipe the output of timer /s into a .txt file.

    You can get it here: Gammadyne's Free DOS Utilities


    The resolution is 0.1 seconds.

提交回复
热议问题