aboutsummaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-04-23 12:02:59 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-04-23 12:02:59 -0700
commit6acec6bf34b19821da7a4605586d0c1a5f340454 (patch)
tree21e464f32f479a1adb74847d7bbcd64a8d21fc9a /CONTRIBUTING.md
parent51cbaeeffe8f016b6d86ee575a77d8f52fe7cedd (diff)
downloadpandoc-6acec6bf34b19821da7a4605586d0c1a5f340454.tar.gz
CONTRIBUTING.md: added note about --trace.
Diffstat (limited to 'CONTRIBUTING.md')
-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