jovo-framework icon indicating copy to clipboard operation
jovo-framework copied to clipboard

Add Timings to Jovo Debugger Lifecycle

Open rmtuckerphx opened this issue 1 year ago • 1 comments

I'm submitting a...

  • [ ] Bug report
  • [x] Feature request
  • [ ] Documentation issue or request
  • [ ] Other... Please describe:

Update the Jovo Debugger UI on the Lifecycle panel to add timings.

Expected Behavior

Add timings to the Lifecycle history so you can see the amount of time that each middleware is taking. A threshold value can be set (500ms, 1s) at which point the text will show red.

  • Yellow highlight shows where timing for an individual middleware would be.
  • Pink highlight shows cumulative time in milliseconds. for the entire request pipeline.

image

Current Behavior

Lifecycle history without timings.

Error Log

n/a

Your Environment

  • Jovo Framework version used: 4.2.26
  • Operating System: Windows 11

rmtuckerphx avatar Aug 26 '22 05:08 rmtuckerphx

Thank you! Yes, great idea.

It would also be cool to display the lifecycle events by middleware names. We'll look into all of this this when upgrading the Debugger

jankoenig avatar Sep 05 '22 13:09 jankoenig