0
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

UiPath 処理時間を計測する方法

Posted at

1.はじめに

ワークフローの処理時間を計測する方法を紹介します。

UiPath社の以下のページを見ていて、

どのようにしたら処理時間を計測できるのか、と気になり、一番簡単な方法を見つけました。

2.ワークフローの作成

時間計測を開始したい箇所に、「代入」アクティビティを配置し、変数「開始時間」(DateTime型)に Now を代入。

時間計測を終了したい箇所に、「代入」アクティビティを配置し、変数「終了時間」(DateTime型)に Now を代入。
「1行を書き込み」アクティビティを配置し、「(終了時間 - 開始時間).ToString」と記述。
2020-05-29_13h46_56.png

(参考)DateTime型の参照
2020-05-29_13h51_01.png

3.ワークフローの実行

2020-05-29_13h52_56.png 出力パネルに「1行を書き込み」の結果(「終了時間 - 開始時間」)が表示されます。 2020-05-29_13h53_40.png

4.最後に

処理時間が遅いなあ、と思ったらUiPath社Tipsを参考に、いろいろ試してみてください。

0
3
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
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?