Staging
v0.5.1
https://github.com/python/cpython
Revision 3c7609a23cf6e011f2cd411e28d9dcb1b087929c authored by Huon Wilson on 01 June 2020, 17:26:22 UTC, committed by GitHub on 01 June 2020, 17:26:22 UTC
* bpo-40630: Add tracemalloc.reset_peak (GH-20102, cherrypick 8b62644)

The reset_peak function sets the peak memory size to the current size,
representing a resetting of that metric. This allows for recording the
peak of specific sections of code, ignoring other code that may have
had a higher peak (since the most recent `tracemalloc.start()` or
tracemalloc.clear_traces()` call).

* Adjust docs to point to 3.9
1 parent 410b730
History
Tip revision: 3c7609a23cf6e011f2cd411e28d9dcb1b087929c authored by Huon Wilson on 01 June 2020, 17:26:22 UTC
[3.9] bpo-40630: Add tracemalloc.reset_peak (GH-20102) (GH-20545)
Tip revision: 3c7609a
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.8 KB
.gitignore -rw-r--r-- 1.8 KB
.travis.yml -rw-r--r-- 8.3 KB
CODE_OF_CONDUCT.md -rw-r--r-- 630 bytes
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 68.5 KB
README.rst -rw-r--r-- 9.9 KB
aclocal.m4 -rw-r--r-- 13.1 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 499.1 KB
configure.ac -rw-r--r-- 168.3 KB
install-sh -rwxr-xr-x 15.0 KB
netlify.toml -rw-r--r-- 82 bytes
pyconfig.h.in -rw-r--r-- 44.4 KB
setup.py -rw-r--r-- 108.5 KB

README.rst

back to top