Open hyj1991 opened 2 years ago
Hi, thanks for this great work!
I am able to use speedscope to analyze .cpuprofile, but sometimes it behaves differently from devtools:
.cpuprofile
CPU-20200515T093903.cpuprofile.zip
CPU-20200515T093903.cpuprofile in speedscope:
CPU-20200515T093903.cpuprofile
And in devtools the flamegraph is like:
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.
(program)
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.
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
in speedscope:And in devtools the flamegraph is like:
Maybe we shouldn't to merge the
(program)
frame to keep the same behavior with chrome devtools.