1 Star 0 Fork 0

TCATools/common-lizard-1.17.5

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
profile.py 320 Bytes
一键复制 编辑 原始数据 按行查看 历史
yalechen 提交于 2021-11-09 12:58 +08:00 . init
from lizard import main
import cProfile, pstats, StringIO
import sys
if __name__ == "__main__":
pr = cProfile.Profile()
pr.enable()
main()
pr.disable()
s = StringIO.StringIO()
sortby = 'tottime'
ps = pstats.Stats(pr, stream=s).sort_stats(sortby)
ps.print_stats()
print s.getvalue()
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/TCATools/common-lizard-1.17.5.git
git@gitee.com:TCATools/common-lizard-1.17.5.git
TCATools
common-lizard-1.17.5
common-lizard-1.17.5
main

搜索帮助