Is there a built-in way to measure execution time of a command on the Windows command line?
In the directory where your program is, type notepad mytimer.bat, click 'yes' to create a new file.
notepad mytimer.bat
Paste the code below, replacing YourApp.exe with your program, then save.
YourApp.exe
@echo off date /t time /t YourApp.exe date /t time /t
Type mytimer.bat in the command line then press Enter.
mytimer.bat