-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aggregated preview shows the wrong duration #396
Comments
I also see this - it took me a long time to understand that the strange markings in the aggregated view are actually supposed to be the overview of the expanded details, because they are typically (much) shorter. |
I spent some time debugging this problem. I changed the line below to
|
@nikhilkalige are you going to make a merge request? @chromy and @primiano might be able to assist. They commented on a previous version of this issue: #394 Thanks all! |
@mfbarad I sure can.. But I wasn't sure if that is the expected behaviour. I also don't understand how utilization is supposed to impact the height of the summary bar. For example with the data, you see the width is correct with the change above, but the height stays the same for PID 1 & 4, even though from 50 to 100, there are two threads doing some work.
|
I am unsure about the
The
|
I think we need to update the process_slice_view table to generate the following output
|
@nikhilkalige: Thanks for looking into this! Yes the line you linked above does seem pretty suspect 😦.
|
@chromy I have a bit better idea of what span join does now. I think the problem in using spanjoin could be that it does take into account overlapping spans from the same table ( I hope that I understood that correct). I tried a bit, but could not come up with a query that generates output like I showed above. |
@chromy @nikhilkalige Is there any progress on this? Thanks so much. |
See #394
{ "traceEvents": [
{ "pid": 1,"tid": 0,"ts": 0,"dur":100,"ph": "X","name": "foo"},
{ "pid": 2,"tid": 0,"ts": 0,"dur":100,"ph": "X","name": "bar"},
] }
The aggregated preview, which is important for my usage case, shows the Process 1 and 2 durations as 50 instead of 100. Thanks
The text was updated successfully, but these errors were encountered: