低开销 Python 程序分析工具 Plop

码农软件 · 软件分类 · Python开发工具 · 2019-11-12 12:27:36

软件介绍

Plop 是一个对 Python 程序栈区取样的分析工具,可以随意的开启或者关闭,而对性能的影响很小。

安装:

pip install plop

用法:

要对整个Python脚本进行概要分析,请运行:

python -m plop.collector myscript.py

分析结果会写入配置文件 ./profiles/[timestamp]

要将查看器用于默认的.plop输出格式,请运行:

python -m plop.viewer --datadir = demo / profiles

然后到 http://localhost:8888  中查看

本文地址:https://codercto.com/soft/d/18822.html

Is Parallel Programming Hard, And, If So, What Can You Do About

Is Parallel Programming Hard, And, If So, What Can You Do About

Paul E. McKenney

The purpose of this book is to help you understand how to program shared-memory parallel machines without risking your sanity.1 By describing the algorithms and designs that have worked well in the pa......一起来看看 《Is Parallel Programming Hard, And, If So, What Can You Do About 》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具