Skip to content

Conversation

@hyj1991
Copy link

@hyj1991 hyj1991 commented Dec 15, 2021

Hi, thanks for this great work!

I am able to use speedscope to analyze .cpuprofile, but sometimes it behaves differently from devtools:

CPU-20200515T093903.cpuprofile.zip

CPU-20200515T093903.cpuprofile in speedscope:

image

And in devtools the flamegraph is like:

image


https://github.com/jlfwong/speedscope/blob/main/src/import/chrome.ts#L205-L207

Maybe we shouldn't to merge the (program) frame to keep the same behavior with chrome devtools.

@marvinhagemeister
Copy link

This is something I'm running into frequently myself. Tried out the changes in the PR locally and they address the issue. With this PR the Chrome profiles look correct again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants