New submission from Huon Wilson <[email protected]>:
Per https://mail.python.org/archives/list/[email protected]/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 <[email protected]> <https://bugs.python.org/issue40630> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
