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

[ bsd3, library, profiling ] [ Propose Tags ]
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 Thu Mar 1 21:41:45 UTC 2018
Distributions NixOS:
Downloads 28 total (28 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-03-01 [all 1 reports]
Hackage Matrix CI

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

[Skip to Readme]




Maintainer's Corner

For package maintainers and hackage trustees

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.