Python3是否有任何可用的内存分析器 [英] Is there any working memory profiler for Python3

查看:319
本文介绍了Python3是否有任何可用的内存分析器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Python 2中,有一些工具,但是一切似乎都是过时且过时的.

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

我已经找到了PySizer和Heapy,但是所有内容似乎都是面向Python2的,移植时会花费很多精力.

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

objgraph很有趣,但仍然不能完全正常工作

objgraph is interesting but still not a fully working profiler

哪个工具正在使用?

推荐答案

Pympler 是与Python兼容的Python内存探查器Python 2.x和Python3.x.

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

这篇关于Python3是否有任何可用的内存分析器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆