Hermes Profile Support in Speedscope #1226
zacharyfmarion
started this conversation in
Show and tell
Replies: 2 comments 4 replies
-
|
These changes are all merged and live on https://www.speedscope.app! It now correctly handles both the raw and converted Hermes profiles |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This PR adds support for the production hermes format to |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a PR open to add the JSON object trace format that Hermes uses to speedscope. Hopefully this will be helpful to react native engineers (and maybe the Hermes devs as well) 🙂. I find speedscope way better for investigating performance issues compared to perfetto or chrome dev tools, specifically their sandwich view is 🔥.
Right now I am also maintaining a fork of speedscope here that properly formats profiles transformed to the chrome trace format with
npx react-native@latest profile-hermes [destinationDir]. If I can get hermes-profile-transformer to apply sourcemaps to the native hermes trace format I will get rid of the fork and just start using the native hermes format + speedscope.Beta Was this translation helpful? Give feedback.
All reactions