AngryUbuntuNerd
AngryUbuntuNerd
any progress on this, or guidance / ideas how we can help?
I think I got this working with a custom timer function: ```python import tracemalloc tracemalloc.start() def malloc(): size, peak = tracemalloc.get_traced_memory() tracemalloc.clear_traces() return peak*4 # this factor seems to vary...
@huonw thanks for your solution I think the tracemalloc way works as well though: the second `malloc()` will record the memory spike since the last call of `clear_traces()`. Tested it...
Happy to put together a PR for adding the support. Would just need a few pointers where to make the changes.