From 4506bbede1644e985991884964b43afa7ee6f609 Mon Sep 17 00:00:00 2001 From: Mark Shannon Date: Thu, 16 Dec 2021 13:40:54 +0000 Subject: [PATCH] bpo-46072: Document --enable-stats option. (GH-30139) --- 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 b2a2936db738..771ad3cf18d9 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 -- 2.47.3