HangfireIO / Hangfire

An easy way to perform background job processing in .NET and .NET Core applications. No Windows Service or separate process required
https://www.hangfire.io
Other
9.44k stars 1.71k forks source link

Add latency to `SucceededJobDto` #2300

Open ArneMancofi opened 1 year ago

ArneMancofi commented 1 year ago

The SucceededJobDto class contains the TotalDuration, which seems also to include the latency.

It would be useful to be able to distinguish between the execution time and latency, for instance in cases where you want to assess the execution speed of the job.

Could the latency be added to SucceededJobDto?

Also, it might be useful to add duration and latency to the FailedJobDto class.

ArneMancofi commented 1 year ago

I have suggested a way to add the performance duration to the SucceededJobDto in PR2301.