Devtools Timeline JSON Structure
Reported by
ericjan...@gmail.com,
Jul 24
|
||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36 Steps to reproduce the problem: 1. Open Chrome developer tools 2. Go to performance tab and collect a timeline 3. Download the timeline as JSON What is the expected behavior? What went wrong? After downloading this JSON file, I've noticed that the objects have a URL, but no module name. I need the module name that each function call originated from, but this is impossible when when using webpack or module bundling. The URL does not map to a single javascript file, so it would take extra logic to create the mapping by using the line number and column number provided. Is there a way to make it possible to include the module name in the JSON? Did this work before? No Chrome version: 67.0.3396.99 Channel: n/a OS Version: 10.0 Flash Version:
,
Jul 26
We provide lineNumber & columnNumber in most events that carry a URL, so it should be possible to use source maps to track a location in a generated file to original source locations -- DevTools Performance panel actually does this when sourcemaps are available. |
||
►
Sign in to add a comment |
||
Comment 1 by krajshree@chromium.org
, Jul 25