【问题标题】:Is there any working memory profiler for Python3 [closed]Python3是否有任何工作内存分析器[关闭]
【发布时间】:2011-12-07 04:56:13
【问题描述】:

在 Python 2 中有几个工具,但一切似乎都过时了。

我找到了 PySizer 和 Heapy,但一切似乎都是面向 Python2 的,并且需要花费大量精力来移植。

objgraph 很有趣,但仍然不是一个完整的分析器

使用的是什么工具?

【问题讨论】:

标签: python python-3.x profiling memory-profiling memory-leak-detector


【解决方案1】:

objgraph 与 Python 3 兼容

【讨论】:

    【解决方案2】:

    memprof 适用于 Python3:

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

    它将记录并绘制所有变量的内存占用情况。

    【讨论】:

      【解决方案3】:

      Pympler 是一个与 Python 2.x 和 Python3.x 兼容的 Python 内存分析器。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2010-09-22
        • 1970-01-01
        • 1970-01-01
        • 2010-12-08
        • 1970-01-01
        • 2012-08-30
        • 1970-01-01
        相关资源
        最近更新 更多