CobaltFusion / DebugViewPP

DebugView++, collects, views, filters your application logs, and highlights information that is important to you!
Boost Software License 1.0
982 stars 144 forks source link

Feature request: Elapsed time since last log item column #339

Open mriffey opened 5 years ago

mriffey commented 5 years ago

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.

image

janwilmans commented 5 years ago

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:

The delta-time uses steady-clock to avoid all of this.

janwilmans commented 5 years ago

Also: image

mriffey commented 5 years ago

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.

janwilmans commented 5 years ago

Ah, right. sounds like that would not be too difficult to add, any suggestion how to fit it in the UI ? (menu-wise) ?

mriffey commented 5 years ago

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.

janwilmans commented 5 years ago

I have thought about this and I really like the idea

mriffey commented 5 years ago

Great news, Jan. Ill be happy to test it when it’s available.