diff options
author | Mark Shannon <mark@hotpy.org> | 2021-08-04 10:39:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-04 10:39:52 (GMT) |
commit | c83919bd635f4433f1c6ae8504996a9fe3c215e5 (patch) | |
tree | 820040d9928408060179d684adc4775f98df76d0 /Include/internal | |
parent | ac811f9b5a68ce8756911ef2c8be83b46696018f (diff) | |
download | cpython-c83919bd635f4433f1c6ae8504996a9fe3c215e5.zip cpython-c83919bd635f4433f1c6ae8504996a9fe3c215e5.tar.gz cpython-c83919bd635f4433f1c6ae8504996a9fe3c215e5.tar.bz2 |
Add option to write specialization stats to files and script to summarize. (GH-27575)
* Add option to write stats to random file in a directory.
* Add script to summarize stats.
Diffstat (limited to 'Include/internal')
-rw-r--r-- | Include/internal/pycore_code.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/internal/pycore_code.h b/Include/internal/pycore_code.h index 2a50a07..312939e 100644 --- a/Include/internal/pycore_code.h +++ b/Include/internal/pycore_code.h @@ -302,6 +302,7 @@ int _Py_Specialize_BinarySubscr(PyObject *sub, PyObject *container, _Py_CODEUNIT #define SPECIALIZATION_STATS 0 #define SPECIALIZATION_STATS_DETAILED 0 +#define SPECIALIZATION_STATS_TO_FILE 0 #if SPECIALIZATION_STATS |