Skip to main content

Provides a FlameGraphRenderer for pyinstrument.

Uses Brendan Gregg's flamegraph.pl in the backend to render an interactive SVG.

Example usage:

```python
import pyinstrument
import pyinstrument_flame

with pyinstrument.Profiler() as profiler:
# do stuff

renderer = pyinstrument_flame.FlameGraphRenderer(title = "Task profile", flamechart=True)
svg = profiler.output(renderer)
```

See the flamegraph.pl documentation for all renderer options.



Release files for pyinstrument-flame 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyinstrument-flame 1.0.2
File Size Uploaded
pyinstrument-flame-1.0.2.tar.gz 14.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyinstrument-flame 1.0.2
File Interpreter ABI Platform
pyinstrument_flame-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 31.2 kB

Release files / pyinstrument-flame-1.0.2.tar.gz

Download URL pyinstrument-flame-1.0.2.tar.gz
Size 14.7 kB
Tags Source
SHA-256 checksum
How to use checksums
90fec4170c49aca4c744af53de23c047a3ac2c846373436b9c4dc08389c25dd5
BLAKE2b-256 checksum
How to use checksums
c51741a1a34938c7e55d6fb168b758bde9fa4b58d15541381779b71624d6fbe4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

Release files / pyinstrument_flame-1.0.2-py3-none-any.whl

Download URL pyinstrument_flame-1.0.2-py3-none-any.whl
Size 16.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd8c0893b4c78e881db98c10157e53e4186d59795128fb6116ee8246c40f2480
BLAKE2b-256 checksum
How to use checksums
31756baeade2a221322d424e85f3d09e189076fd5a85deef8e7292a52426ebc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page