summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2017-11-15 17:28:48 -0500
committerBen Gamari <ben@smart-cactus.org>2017-11-16 15:10:21 -0500
commit2da7813b771edcb3efb1b067b986d10f5de4beaf (patch)
treeb4887225058f7418dd676fc2a5706730c2e551f4
parent2f4638735ad1526d6502a4706bffafffb93e24da (diff)
downloadhaskell-2da7813b771edcb3efb1b067b986d10f5de4beaf.tar.gz
Document -ddump-timings
-rw-r--r--docs/users_guide/debugging.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/users_guide/debugging.rst b/docs/users_guide/debugging.rst
index 0d3872e32f..d0f479cbb1 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⟩``