LoginSignup
0
1

More than 5 years have passed since last update.

Windowsでコマンドの実行時間を測定する雑だけど簡単な方法

Posted at
date && [実効時間を測定したいcommand] && date

&&でコマンドをつなぐと&&の左側のコマンドが正常終了したあと、&&の右側のコマンドが実行される。
時間を測定したいコマンドの前後に&&ではさんでdateコマンドを実行すれば、実行開始時間と終了時間が取れるので、あとは手計算でかかった時間が分かる。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1