profiler
profiler copied to clipboard
Imported Chrome profiles don't include DOM event names
e.g. something like:
{"args":{"data":{"type":"volumechange"}},"cat":"devtools.timeline","dur":28960,"name":"EventDispatch","ph":"X","pid":7880,"tdur":23969,"tid":8416,"ts":3549324456,"tts":25791815},
doesn't include volumechange only EventDispatch
┆Issue is synchronized with this Jira Task
An example profile: Profile-20220110T144641.json.zip
Thanks!
I see the data object is imported in the profiler marker payload data.data. So it ends up in data.data.type.
I wonder if adding a marker schema for EventDispatch would just work here...
Currently we can't access properties in nested objects, but maybe we can override the type CompleteTraceEvent (and others) with whatever type is inside the arg data. I'm not sure we do anything with these types.