[commit: ghc] master: JSON profiler reports (a204333)

git at git.haskell.org git at git.haskell.org
Thu Feb 23 22:27:10 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/a20433326eabd759502d9c170c3cc44ce6128a04/ghc

>---------------------------------------------------------------

commit a20433326eabd759502d9c170c3cc44ce6128a04
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Thu Feb 23 13:22:48 2017 -0500

    JSON profiler reports
    
    This introduces a JSON output format for cost-centre profiler reports.
    It's not clear whether this is really something we want to introduce
    given that we may also move to a more Haskell-driven output pipeline in
    the future, but I nevertheless found this helpful, so I thought I would
    put it up.
    
    Test Plan: Compile a program with `-prof -fprof-auto`; run with `+RTS
    -pj`
    
    Reviewers: austin, erikd, simonmar
    
    Reviewed By: simonmar
    
    Subscribers: duncan, maoe, thomie, simonmar
    
    Differential Revision: https://phabricator.haskell.org/D3132


>---------------------------------------------------------------

a20433326eabd759502d9c170c3cc44ce6128a04
 docs/users_guide/profiling.rst                 |   5 +
 includes/rts/Flags.h                           |   4 +-
 libraries/base/GHC/RTS/Flags.hsc               |   6 +-
 libraries/base/changelog.md                    |   6 +-
 rts/ProfilerReport.c                           |  16 ----
 rts/ProfilerReportJson.c                       | 127 +++++++++++++++++++++++++
 rts/{ProfilerReport.h => ProfilerReportJson.h} |  11 ++-
 rts/Profiling.c                                |  24 ++++-
 rts/RtsFlags.c                                 |  10 +-
 9 files changed, 177 insertions(+), 32 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc a20433326eabd759502d9c170c3cc44ce6128a04


More information about the ghc-commits mailing list