summaryrefslogtreecommitdiffstats
path: root/Doc/using
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2021-12-16 13:40:54 (GMT)
committerGitHub <noreply@github.com>2021-12-16 13:40:54 (GMT)
commit4506bbede1644e985991884964b43afa7ee6f609 (patch)
treef707d08c9a1adf73fcbc192c3f83a66cd429589a /Doc/using
parent62a8a0c5223f750e22ee381d3cfbdb718cf1cc93 (diff)
downloadcpython-4506bbede1644e985991884964b43afa7ee6f609.zip
cpython-4506bbede1644e985991884964b43afa7ee6f609.tar.gz
cpython-4506bbede1644e985991884964b43afa7ee6f609.tar.bz2
bpo-46072: Document --enable-stats option. (GH-30139)
Diffstat (limited to 'Doc/using')
-rw-r--r--Doc/using/configure.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst
index b2a2936..771ad3c 100644
--- a/Doc/using/configure.rst
+++ b/Doc/using/configure.rst
@@ -131,6 +131,17 @@ General Options
.. versionadded:: 3.11
+.. cmdoption:: --enable-pystats
+
+ Turn on internal statistics gathering.
+
+ The statistics will be dumped to a arbitrary (probably unique) file in
+ ``/tmp/py_stats/``, or ``C:\temp\py_stats\`` on Windows.
+
+ Use ``Tools//summarize_stats.py`` to read the stats.
+
+ .. versionadded:: 3.11
+
Install Options
---------------