Is there any working memory profiler for Python3 [closed]

好久不见. 提交于 2019-12-17 10:52:27

问题


In Python 2 there's a couple of tools but everything seems to be old and out-of-dated.

I've found PySizer and Heapy but everything seems to be Python2 oriented and would take a lot of effort to port.

objgraph is interesting but still not a fully working profiler

Which tool are using ?


回答1:


Pympler is a Python memory profiler that is compatible with both Python 2.x and Python3.x.




回答2:


objgraph is compatible with Python 3




回答3:


memprof works for Python3:

http://jmdana.github.io/memprof/

It will log and plot the memory footprint of all your variables.



来源:https://stackoverflow.com/questions/7758699/is-there-any-working-memory-profiler-for-python3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!