Haskell GHC JSON format support (fixes #182) #183
Fixes #182 by adding support for importing the JSON profiling format created by GHC's built in profiling support when the executable is passed the
Unfortunately, GHC doesn't provide the raw sample information to get the time view to be useful, so only left heavy and sandwich are useful.
Includes a test profile, and I've also tested it on a more real large 2MB profile file in the UI and it works great.
I also modified the Readme to link to a wiki page I'm unable to create, but that should have something like this content copy-pasted into it:
Importing from Haskell
GHC provides built in profiling support that can export a JSON file.
This will produce a
See the GHC manual page on profiling
The text was updated successfully, but these errors were encountered:
Thanks, suggestions applied, such a great new feature.
Although I wish there was a way to apply multiple suggestions in one commit
Thanks @trishume! This is now merged, published to npm, and deployed to https://www.speedscope.app/. I also added the documentation you wrote to the wiki: https://github.com/jlfwong/speedscope/wiki/Importing-from-Haskell