From d0253c36b55d3349f322e6602664aac7e156179e Mon Sep 17 00:00:00 2001 From: Mark Shannon Date: Thu, 16 Dec 2021 11:27:14 +0000 Subject: [PATCH 1/2] Document --enable-stats option. --- Doc/using/configure.rst | 11 +++++++++++ ...ize_specialization_stats.py => summarize_stats.py} | 0 2 files changed, 11 insertions(+) rename Tools/scripts/{summarize_specialization_stats.py => summarize_stats.py} (100%) diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst index b2a2936db738bc..48fe6714b22418 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 --------------- diff --git a/Tools/scripts/summarize_specialization_stats.py b/Tools/scripts/summarize_stats.py similarity index 100% rename from Tools/scripts/summarize_specialization_stats.py rename to Tools/scripts/summarize_stats.py From e294b0f5fc67098e5b04614e6abff5ae1513291f Mon Sep 17 00:00:00 2001 From: Mark Shannon Date: Thu, 16 Dec 2021 11:31:12 +0000 Subject: [PATCH 2/2] Fix formatting --- Doc/using/configure.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst index 48fe6714b22418..771ad3cf18d97b 100644 --- a/Doc/using/configure.rst +++ b/Doc/using/configure.rst @@ -136,7 +136,7 @@ General Options 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. + ``/tmp/py_stats/``, or ``C:\temp\py_stats\`` on Windows. Use ``Tools//summarize_stats.py`` to read the stats.