Feature request: Elapsed time since last log item column
mriffey opened this issue · 7 comments
Recently I was working with another dev on some performance issues. At one point, i took the dbv++ output, pasted it into a blank email (to get the spacing formatted), then took that and pasted it into Excel. I then added a column for Elapsed time (this step) and added a formula to calculate for each line how much time had elapsed since the last log entry. A simple process, but kind of cumbersome.
Adding an elapsed time since last log entry column would be useful for such testing. Example screenshot below.
A you aware of the 'clock icon' at then top of the screen ? It switches from system clock to 'delta time' using steady clock. 'delta time' displays elapsed time from the top of the view and the view can be reset to a certain line you want. The delta time is also more accurate, the system clock has a 16ms resolution, while the steady-clock has (on most systems) a sub-millisecond resolution.
Finally: delta-time does not 'change' when you happen to have:
- a time-zone transitions
- daylight saving time changes
- a sync with a time-server (the system clock could move backwards in time)
The delta-time uses steady-clock to avoid all of this.
Yep. Im talking about an additional column next to that which shows the time since the last log entry, not the current delta time since the log started. The screenshot I included shows that (created in excel) and the column to the left of the elapsed column in the screenshot is the delta time from a debugview log.
Ah, right. sounds like that would not be too difficult to add, any suggestion how to fit it in the UI ? (menu-wise) ?
Column-wise, Id put it next to the time column, regardless of format. Menu-wise, Id put it on View with the other time-related items.
I have thought about this and I really like the idea