Antoine Pitrou <pit...@free.fr> added the comment:

> I'm not sure that the code tracking the memory usage in performance works

Why wouldn't it?  It certainly gives believable numbers (see above).

And it seems to defer to your own "perf" tool anyway.

> perf has two options: --track-memory and --tracemalloc, see the doc:

I don't think tracemalloc is a good tool to compare memory usage, as it comes 
with its own overhead.  Also it won't account for issues such as memory 
fragmentation.

> In the 3 cases, perf saves the *peak* of the memory usage.

Well, yes, that's the point, thank you.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33597>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to