Markers with undefined intervals present in the profile
Categories
(Core :: Gecko Profiler, defect, P2)
Tracking
()
People
(Reporter: mstange, Unassigned)
Details
I haven't checked whether this is a platform or a front-end problem, or which marker is affected.
Loading https://perfht.ml/2U5omLS prints warnings of the following form to the console:
'data.interval' holds the invalid value 'undefined' in marker index 1. This should not normally happen.
Some markers data is just null, so there's definitely something fishy:
{...,"threads":[{...,"markers":{"data":[null,null,null,{"type":"Text",...
Do we get diagnostics from the profile processor? It would be nice to see the original data. Hopefully we can reproduce it...
Comment 2•6 years ago
|
||
It's totally expected to have "null" for data :-) "dot" markers don't always have a payload.
but tracing markers (with type='tracing') need to have an "interval" property with either "start" or "end" as value. In our code we handle such mistakes as "dot" markers, which I think is the intent. The fix is to track these fake tracing markers and convert them to normal markers.
As a reminder, tracing markers are really pairs of start/end dot markers; in the UI we pair them to create an interval marker.
Updated•4 years ago
|
Description
•