0
点赞
收藏
分享

微信扫一扫

Python 的guppy模块检测内存

月白色的大狒 2022-08-01 阅读 57


1.安装pip install guppy

2.获取hpy()

profile=hpy()
print profile.heap()

3.检测固定函数的内存消耗

Python 的guppy模块检测内存_p

输出

Python 的guppy模块检测内存_p_02


举报

相关推荐

0 条评论