hs-speedscope: Convert an eventlog into the speedscope json format

[ bsd3, development, library, program ] [ Propose Tags ]

Convert an eventlog into the speedscope json format. The interactive visualisation displays an approximate trace of the program and summary views akin to .prof files. There is also support for parallel programs, each capability is rendered in its own profile.


[Skip to Readme]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.1.0, 0.2, 0.2.1
Change log CHANGELOG.md
Dependencies aeson (>=1.4), base (>=4.12.0.0 && <5), extra (>=1.6), ghc-events (>=0.11 && <0.13), hs-speedscope, text (>=1.2), vector (>=0.12) [details]
License BSD-3-Clause
Author Matthew Pickering
Maintainer matthewtpickering@gmail.com
Revised Revision 1 made by mpickering at 2020-03-21T12:05:37Z
Category Development
Source repo head: git clone https://github.com/mpickering/hs-speedscope.git
Uploaded by mpickering at 2019-11-07T15:41:37Z
Distributions NixOS:0.2.1
Executables hs-speedscope
Downloads 1155 total (10 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-11-07 [all 1 reports]

Readme for hs-speedscope-0.1.1.0

[back to package description]

hs-speedscope

hs-speedscope is a simple executable for converting an eventlog into a format suitable to load into speedscope.

WARNING: Only GHC 8.10 supports generating an eventlog with the correct events for this program to work.

Usage

  1. Create an eventlog which contains time profiling events by running your program with program +RTS -p -l-au.
  2. Run hs-speedscope on the resulting eventlog hs-speedscope program.eventlog.
  3. Load the resulting program.eventlog.json file into speedscope to visualise the profile.