You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jamie Wong edited this page Oct 29, 2018
·
1 revision
GHC provides built in profiling support that can export a JSON file.
In order to do this you need to compile your executable with profiling
support and then pass the -pj RTS flag to the executable.
This will produce a my-binary.prof file in the current directory which
you can import into speedscope.