aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONTRIBUTING.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 1145dd835..11a0c9c94 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -205,6 +205,10 @@ placed in the source directory):
Profiling
---------
+To diagnose a performance issue with parsing, first try using
+the `--trace` option. This will give you a record of when block
+parsers succeed, so you can spot backtracking issues.
+
To use the GHC profiler with cabal:
cabal clean