firefox-devtools / firefox-devtools/profiler

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

Open
#1,010 2 comments 0 reactions 0 assignees View on GitHub
profile data
Dominant language
TypeScript
Stars
1.5k
Forks
491
Avg merge
3d 46m
Merged PRs (30d)
27

Description

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](https://user-images.githubusercontent.com/6175557/40198853-99ae7424-59e5-11e8-85d9-af6d9406c51f.png)

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](https://user-images.githubusercontent.com/6175557/40198852-99a1a1a4-59e5-11e8-87da-ac82dcb2f6af.png)

┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/FP-37)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.