This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author huonw
Recipients huonw, vstinner
Date 2020-05-15.02:12:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
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.
History
Date User Action Args
2020-05-15 02:12:36huonwsetrecipients: + huonw, vstinner
2020-05-15 02:12:36huonwsetmessageid: <[email protected]>
2020-05-15 02:12:35huonwlinkissue40630 messages
2020-05-15 02:12:35huonwcreate