py-spy:Python程序的采样探查器

时间:2021-02-05 10:42:05
【文件属性】:
文件名称:py-spy:Python程序的采样探查器
文件大小:943KB
文件格式:ZIP
更新时间:2021-02-05 10:42:05
python profiler performance-analysis profiling PythonRust py-spy:Python程序的采样探查器 py-spy是用于Python程序的采样分析器。 它使您可以直观地看到Python程序花费的时间,而无需重新启动程序或以任何方式修改代码。 py-spy的开销非常低:它是用Rust编写的,以提高速度,并且与配置的Python程序不在同一进程中运行。 这意味着py-spy可以安全地用于生产Python代码。 py-spy可在Linux,OSX,Windows和FreeBSD上运行,并支持对所有最新版本的CPython解释器(2.3-2.7和3.3-3.8版)进行性能分析。 安装 可以通过以下方式从PyPI安装预构建的二进制车轮: pip inst
【文件预览】:
py-spy-master
----.cargo()
--------config(74B)
----Cargo.toml(1KB)
----generate_bindings.py(8KB)
----.github()
--------workflows()
----ci()
--------testdata()
--------publish_freebsd.sh(710B)
----.cirrus.yml(675B)
----Cargo.lock(32KB)
----src()
--------flamegraph.rs(3KB)
--------binary_parser.rs(5KB)
--------python_spy.rs(44KB)
--------python_interpreters.rs(8KB)
--------main.rs(14KB)
--------utils.rs(660B)
--------cython.rs(8KB)
--------python_threading.rs(3KB)
--------native_stack_trace.rs(13KB)
--------config.rs(15KB)
--------timer.rs(2KB)
--------python_data_access.rs(13KB)
--------stack_trace.rs(8KB)
--------speedscope.rs(7KB)
--------sampler.rs(12KB)
--------version.rs(3KB)
--------lib.rs(2KB)
--------dump.rs(2KB)
--------console_viewer.rs(21KB)
--------python_bindings()
----images()
--------flamegraph.svg(15KB)
--------console_viewer.gif(583KB)
--------dump.png(243KB)
----build.rs(313B)
----examples()
--------dump_traces.rs(1KB)
----LICENSE(1KB)
----setup.cfg(592B)
----setup.py(5KB)
----README.md(16KB)
----tests()
--------integration_test.rs(12KB)
--------scripts()
----.gitignore(231B)
----CHANGELOG.md(6KB)

网友评论