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

[ bsd3, library, profiling ] [ Propose Tags ] [ Report a vulnerability ]

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


[Skip to Readme]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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 2018-03-01T21:41:45Z
Distributions NixOS:0.1.0.0
Downloads 877 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-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.