Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I need to be able to parse my heap snapshots with minified code #61

Open
dolezel opened this issue Jun 3, 2022 · 5 comments
Open

I need to be able to parse my heap snapshots with minified code #61

dolezel opened this issue Jun 3, 2022 · 5 comments
Labels
feature New feature or request tracked This issue is now tracked on our internal backlog

Comments

@dolezel
Copy link

dolezel commented Jun 3, 2022

When I get heap snapshot from production, there is not way how to get original names of the objects.
Also if I take heap Allocation instrumentation on timeline / Allocation sampling, the function names in Allocation stack are minified, pointing to minified source file, but no way how to get info about the function in original code.

AB#39916153

@dolezel dolezel added the feature New feature or request label Jun 3, 2022
@captainbrosset
Copy link
Contributor

Thanks for reaching out. We added a feature recently to the Performance tool that allows users to unminify perf profiles recorded in production. It seems like it would be useful for you if we added a similar feature to the Memory tool now.

@joselea might have some interesting thoughts on this.

@codepo8
Copy link
Contributor

codepo8 commented Jun 7, 2022

This is possible when you have sourcemaps set up, there was a write-up in the What's new in Edge 99 and the documentation is here.

@joselea
Copy link
Member

joselea commented Jun 7, 2022

@codepo8 I think @dolezel is talking about Memory heap snapshots, not the Performance profiles.

I think this is a reasonable request, maybe we can re-use the infrastructure from the performance panel here.

@captainbrosset captainbrosset added the tracked This issue is now tracked on our internal backlog label Jun 8, 2022
@captainbrosset
Copy link
Contributor

Thanks Jose. I'll add this to the team backlog so this can be prioritized.

@dolezel
Copy link
Author

dolezel commented Jun 10, 2022

Thank you guys for looking into this!
Based on discussion with @robpaveza tc39/ecma426#12 may be related

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request tracked This issue is now tracked on our internal backlog
Projects
None yet
Development

No branches or pull requests

4 participants