Py-Spy: Python程序采样可视化性能分析工具-python

时间:2021-06-18 19:03:31
【文件属性】:
文件名称:Py-Spy: Python程序采样可视化性能分析工具-python
文件大小:956KB
文件格式:ZIP
更新时间:2021-06-18 19:03:31
性能优化 Py-Spy是Python程序的抽样分析器。 它允许您可视化Python程序花费时间的内容,而无需重新启动程序或以任何方式修改代码。 Py-Spy:Python 程序的采样分析器。 Py-Spy 是 Python 程序的采样分析器。 它使您可以直观地查看 Python 程序花费的时间,而无需重新启动程序或以任何方式修改代码。 Py-Spy 的开销极低:它是用 Rust 编写的以提高速度,并且与分析的 Python 程序不在同一进程中运行。 这意味着 Py-Spy 可以安全地用于生产 Python 代码。 Py-Spy 适用于 Linux、OSX 和 Windows,并支持分析所有最新版本的 CPython 解释器(版本 2.3-2.7 和 3.3-3.7)。 安装 预构建的二进制*可以从 PyPI 安装: pip install py-spy 如果你是 Rust 用户,py-spy 也可以安装:cargo install py-spy 在 Arch Linux 上,py-spy 在 AUR 中并且可以使用您最喜欢的 AUR 帮助程序进行安装,例如:yay -S py-sp
【文件预览】:
py-spy-master
----.gitignore(231B)
----setup.cfg(591B)
----README.md(16KB)
----CHANGELOG.md(8KB)
----.github()
--------workflows()
----Cargo.toml(1KB)
----tests()
--------integration_test.py(4KB)
--------integration_test.rs(12KB)
--------scripts()
----examples()
--------dump_traces.rs(1KB)
----LICENSE(1KB)
----.cirrus.yml(675B)
----build.rs(313B)
----src()
--------dump.rs(2KB)
--------python_interpreters.rs(8KB)
--------speedscope.rs(8KB)
--------cython.rs(8KB)
--------lib.rs(2KB)
--------stack_trace.rs(8KB)
--------console_viewer.rs(21KB)
--------version.rs(3KB)
--------python_threading.rs(3KB)
--------sampler.rs(13KB)
--------python_bindings()
--------flamegraph.rs(3KB)
--------utils.rs(660B)
--------config.rs(16KB)
--------native_stack_trace.rs(13KB)
--------python_data_access.rs(14KB)
--------python_spy.rs(45KB)
--------main.rs(15KB)
--------timer.rs(2KB)
--------binary_parser.rs(5KB)
----.cargo()
--------config(74B)
----images()
--------dump.png(243KB)
--------console_viewer.gif(583KB)
--------flamegraph.svg(15KB)
----setup.py(5KB)
----Cargo.lock(32KB)
----generate_bindings.py(9KB)
----ci()
--------testdata()
--------publish_freebsd.sh(710B)
--------update_python_test_versions.py(2KB)

网友评论