diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2022-02-10 12:25:14 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-02-10 19:21:24 -0500 |
commit | 2f99255bc390db543ae57dec36a037cae9cd2996 (patch) | |
tree | 855f5261a01479c2c8a3a0c83a1bc54b992d50aa | |
parent | e06f49c0064c61fec5fa79b034dee5fcb1a15247 (diff) | |
download | haskell-2f99255bc390db543ae57dec36a037cae9cd2996.tar.gz |
Fix copy-pasto in prof-late-ccs docs
-rw-r--r-- | docs/users_guide/profiling.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/users_guide/profiling.rst b/docs/users_guide/profiling.rst index 87509d6331..495d2b8db0 100644 --- a/docs/users_guide/profiling.rst +++ b/docs/users_guide/profiling.rst @@ -441,14 +441,14 @@ compiled program. .. ghc-flag:: -fprof-late-ccs :shortdesc: Auto-add ``SCC``\\ s to all top level bindings *after* the optimizer has run. :type: dynamic - :reverse: -fno-prof-auto + :reverse: -fno-prof-late-ccs :category: Adds an automatic ``SCC`` annotation to all top level bindings late in the core pipeline after the optimizer has run. This means these cost centres will not interfere with core-level optimizations and the resulting profile will be closer to the performance profile of an optimized non-profiled executable. - While the results of this are generally very good some of the compiler internal names + While the results of this are generally very informative some of the compiler internal names will leak into the profile. .. ghc-flag:: -fprof-cafs |