#author("2022-02-04T10:18:49+09:00","default:ryuichi","ryuichi")
#author("2022-02-04T10:19:14+09:00","default:ryuichi","ryuichi")
* 実行時間の計測 - Measure-Command [#w992f994]
#shell(){{
PS> Measure-Command { (1..3).ForEach({ bash.exe -c 'LANG=C date' | Out-Default }) }
Fri Feb 4 10:13:11 JST 2022
Fri Feb 4 10:13:11 JST 2022
Fri Feb 4 10:13:11 JST 2022
Days : 0
Hours : 0
Minutes : 0
Seconds : 0
Milliseconds : 857
Ticks : 8570465
TotalDays : 9.91951967592593E-06
TotalHours : 0.000238068472222222
TotalMinutes : 0.0142841083333333
TotalSeconds : 0.8570465
TotalMilliseconds : 857.0465
}}
** 参考 [#b5f4fd10]
https://docs.microsoft.com/ja-jp/powershell/module/microsoft.powershell.utility/measure-command