pyprof2calltree — Python 性能分析 可视化 Posted on 2020年2月4日Author unique-ptrPosted in Python, 技术分享Leave a Reply 性能分析用cProfile python -m cProfile -o output.perf your_script.py –your args 然后可以安装pyprof2calltree pyprof2calltree -i output.perf -k 记得系统里要装qcallgrind(windows)或者kcallgrind,不然会打不开生成好的log