An interactive SVG Flame Chart Renderer for pyinstrument.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for pyinstrument_flame-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1020230bb535c9d3fcd901cf8a671ca8902aaf6db073b1b0f1ffa9d1f23064ed |
|
MD5 | c94fc6b8179db381a26a41fd45fc631c |
|
BLAKE2b-256 | 340a5fb52ee9885de7da6494ded3934e2e008c3157f31d7bdc915f9ffe2e4dce |