]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-46072: Document --enable-stats option. (GH-30139)
authorMark Shannon <mark@hotpy.org>
Thu, 16 Dec 2021 13:40:54 +0000 (13:40 +0000)
committerGitHub <noreply@github.com>
Thu, 16 Dec 2021 13:40:54 +0000 (13:40 +0000)
Doc/using/configure.rst
Tools/scripts/summarize_stats.py [moved from Tools/scripts/summarize_specialization_stats.py with 100% similarity]

index b2a2936db738bc4d87048aac8f42f1ff5fd2b976..771ad3cf18d97b1b4c38cfaf8f4ef52ff3197f86 100644 (file)
@@ -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
 ---------------