[New-bugs-announce] [issue40630] tracemalloc: allow resetting peak memory metric without touching other traces
Huon Wilson
report at bugs.python.org
Thu May 14 22:12:36 EDT 2020
New submission from Huon Wilson <wilson.huon at gmail.com>:
Per https://mail.python.org/archives/list/python-ideas@python.org/thread/QDWI37A4TJXOYUKULGPY2GKD7IG2JNDC/ , it would be helpful to have a function that resets the peak memory usage of the tracemalloc module, without changing all the traces.
This allows for recording the peak memory usage of a specific region of code, rather than only the peak since the last tracemalloc.start() or tracemalloc.clear_traces() call.
----------
components: Library (Lib)
messages: 368916
nosy: huonw, vstinner
priority: normal
severity: normal
status: open
title: tracemalloc: allow resetting peak memory metric without touching other traces
type: enhancement
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40630>
_______________________________________
More information about the New-bugs-announce
mailing list