[commit: ghc] master: Document -ddump-timings (2da7813)
git at git.haskell.org
git at git.haskell.org
Thu Nov 16 20:10:42 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/2da7813b771edcb3efb1b067b986d10f5de4beaf/ghc
>---------------------------------------------------------------
commit 2da7813b771edcb3efb1b067b986d10f5de4beaf
Author: Ben Gamari <ben at smart-cactus.org>
Date: Wed Nov 15 17:28:48 2017 -0500
Document -ddump-timings
>---------------------------------------------------------------
2da7813b771edcb3efb1b067b986d10f5de4beaf
docs/users_guide/debugging.rst | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/docs/users_guide/debugging.rst b/docs/users_guide/debugging.rst
index 0d3872e..d0f479c 100644
--- a/docs/users_guide/debugging.rst
+++ b/docs/users_guide/debugging.rst
@@ -74,6 +74,11 @@ Dumping out compiler intermediate structures
aren't). This flag makes debugging output appear in the more verbose
debug style.
+.. ghc-flag:: -ddump-timings
+ :shortdesc: Dump per-pass timing and allocation statistics
+ :type: dynamic
+
+ Show allocation and runtime statistics for various stages of compilation.
GHC is a large program consisting of a number of stages. You can tell GHC to
dump information from various stages of compilation using the ``-ddump-⟨pass⟩``
More information about the ghc-commits
mailing list