ghc-prof-aeson: Parser for GHC's JSON profiling output.

[ bsd3, library, profiling ] [ Propose Tags ]

Parser for GHC's JSON profiling output produced by `-pj`.

[Skip to Readme]




Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS]
Change log
Dependencies aeson (>=0.7), base (>=4.5 && <5), text, vector [details]
License BSD-3-Clause
Copyright 2018, Mateusz Kowalczyk
Author Mateusz Kowalczyk
Category Profiling
Home page
Bug tracker
Source repo head: git clone
Uploaded by MateuszKowalczyk at 2018-03-01T21:41:45Z
Distributions NixOS:
Downloads 820 total (8 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-03-01 [all 1 reports]

Readme for ghc-prof-aeson-

[back to package description]

ghc-prof-aeson Build Status Build Status

Somewhere along the way in GHC 8.2.x it became possible to output profiling output in JSON form. This is much more friendly for tooling as usual profiling format differs based the exact flags, identifier names, nesting, heap profiling flags and phase of the moon. More than once have we fallen to a parse failure in ghc-prof-flamegraph.

This is a very simple package that parses the profiling JSON output and gives you a Haskell data structure to work with instead. This should completely remove random parse failures due to weird formatting or at the very least, provide better error messages.