firefox-devtools / profiler

Firefox Profiler — Web app for Firefox performance analysis
https://profiler.firefox.com
Mozilla Public License 2.0
1.21k stars 392 forks source link

Map bundled files back to their original files when sourcemap is present #1010

Open imjching opened 6 years ago

imjching commented 6 years ago

Here's a sample profile for https://perf-demo.firebaseapp.com/?react_perf.

In perf.html, we see that functions are mapped to the bundled JavaScript file with its corresponding line number.

screen shot 2018-05-17 at 3 17 41 pm

It would be great to show the original file if a sourcemap of that specific file is found.

Here's what we have in Google Chrome's DevTools:

screen shot 2018-05-17 at 3 18 13 pm

┆Issue is synchronized with this Jira Task

julienw commented 6 years ago

Thanks, yeah this is something we want to do -- funnily it wasn't on file yet.

fqueze commented 4 years ago

See also issue #605