How to find take time in each step

studio
logs

#1

I would like to know process time since start step to end step or in each step.
Are there UI Path studio have .log file??


#2

HI @Prince14116

You can find the execution logs in %localappdata%\UiPath\Logs sorted by date. In these files you will see that there are the parameters: totalExecutionTimeInSeconds and totalExecutionTime which show the process time from start to end.
At the begining of each log line there is also the start time of each step, so you will get an idea of how long it took for each step.

Hope it helps!


#3

apart @ovi

What about Stopwatch (You will find example on the forum)

Stopwatch

use as per your needs… but keep it mind the performance and usage all depended on you.

Regards…!!
Aksh


#4

Hi,

Not sure if this is what you are looking for, but when i want to preform inline time measurements i do it like this:

DateTime start = DateTime.Now
//The flow i want to messure
DateTime end = DateTime.Now

TimeSpan span = end.Subtract(start)

Hope this helps!
Andreas