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]
Versions 0.1.0.0
Change log ChangeLog.md
Dependencies aeson (>=0.7), base (>=4.5 && <5), text, vector [details]
License BSD-3-Clause
Copyright 2018, Mateusz Kowalczyk
Author Mateusz Kowalczyk
Maintainer fuuzetsu@fuuzetsu.co.uk
Category Profiling
Home page https://github.com/Fuuzetsu/ghc-prof-aeson#readme
Bug tracker https://github.com/Fuuzetsu/ghc-prof-aeson/issues
Source repo head: git clone https://github.com/Fuuzetsu/ghc-prof-aeson
Uploaded by MateuszKowalczyk at Thu Mar 1 21:41:45 UTC 2018
Distributions NixOS:0.1.0.0
Downloads 125 total (9 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

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for ghc-prof-aeson-0.1.0.0

[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.