New issue
Advanced search Search tips

Issue 773455 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Selected events in chrome://tracing cannot be ordered by start time

Project Member Reported by stanisc@chromium.org, Oct 10 2017

Issue description

Chrome Version: (copy from chrome://version)
OS: (e.g. Win7, OSX 10.9.5, etc...)

What steps will reproduce the problem?
(1) Capture a trace
(2) Select a group of events on the timeline
(3) Go down to the list of event types and click a specific type
(4) Pick "Start" as as a histogram type

What is the expected result?
The list of events is ordered by start time

What happens instead?
Well, it is close. Events in the list are mostly ordered by start time, but some of them are slightly out of order. I guess events are listed in the same order they appear in the histogram buckets but not sorted within each bucket.

The reason I want that is because I often use trace viewer to analyze patterns of code execution. For example, exact ordering by start time might be useful when events have arguments. It is too difficult to see all the events on the timeline, so I like to select a group of events on a timeline and then look at a list for a type of events that I am interested in. And in that case the natural order of events by start time is most interesting to me.

Without having this feature in the trace viewer I often have to write a custom python script to load the trace dump and list/aggregate specific events from it. 


 

Sign in to add a comment