Linux
timeコマンドを使う
1 2 3 4 5 6 |
$ time ls dist.bat src/ real 0m0.062s user 0m0.000s sys 0m0.046s |
Windows
powershellのMesure-Commandを使う
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
> Measure-Command {ls} Days : 0 Hours : 0 Minutes : 0 Seconds : 0 Milliseconds : 1 Ticks : 14565 TotalDays : 1.68576388888889E-08 TotalHours : 4.04583333333333E-07 TotalMinutes : 2.4275E-05 TotalSeconds : 0.0014565 TotalMilliseconds : 1.4565 > |