使用sudo python -m cProfile -o 1.cprof your.py生成cprof文件

windows下安装snakeviz:pip install -i https://pypi.doubanio.com/simple/ snakeviz --trusted-host pypi.doubanio.com

使用:Python27\Scripts文件夹下snakeviz.exe 1.cprof

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-12
  • 2021-05-30
  • 2022-12-23
  • 2022-12-23
  • 2022-02-07
  • 2022-12-23
猜你喜欢
  • 2021-06-29
  • 2021-09-27
  • 2021-12-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-01
相关资源
相似解决方案