Skip to main content

Flask Debugtoobar Flame Graph

Based on the awesome [djdt-flamegraph](https://github.com/23andMe/djdt-flamegraph) project.

Get a flame graph of the current request.

https://img.shields.io/pypi/v/flask-debugtoolbar-flamegraph.svg

Screenshot

https://raw.githubusercontent.com/23andMe/djdt-flamegraph/master/flamegraph-screenshot.png

Features

Install

  • Add flask_debugtoolbar_flamegraph to your requirements.txt.

  • Add flask_debugtoolbar_flamegraph.FlamegraphPanel to DEBUG_TB_PANELS.

  • Run your server with python manage.py runserver --nothreading --noreload

Notes

  • ValueError at /: signal only works in main thread: Flame graphs can only be generated in a single threaded server.

  • Flame graphs are disabled by default. You’ll have to enable it by clicking the checkbox next to it in the Debug Toolbar.

  • Probably won’t work on Windows.

Release files for flask-debugtoolbar-flamegraph 0.1.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 flask-debugtoolbar-flamegraph 0.1.2
File Size Uploaded
flask_debugtoolbar_flamegraph-0.1.2.tar.gz 14.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flask-debugtoolbar-flamegraph 0.1.2
File Interpreter ABI Platform
flask_debugtoolbar_flamegraph-0.1.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 30.7 kB

Release files / flask_debugtoolbar_flamegraph-0.1.2.tar.gz

Download URL flask_debugtoolbar_flamegraph-0.1.2.tar.gz
Size 14.5 kB
Tags Source
SHA-256 checksum
How to use checksums
263e138477285bb3b6d21d9c2a15f080505cd2df0f885fa812f00d8f458625ba
BLAKE2b-256 checksum
How to use checksums
f091e052955b6331455596fa4a9d7f2036508f73e311cf33ed7accd64c252dda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / flask_debugtoolbar_flamegraph-0.1.2-py2.py3-none-any.whl

Download URL flask_debugtoolbar_flamegraph-0.1.2-py2.py3-none-any.whl
Size 16.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
4959d645b1b31d26463ed95b357333e8d6b35bae7df56c201c154252953a10c0
BLAKE2b-256 checksum
How to use checksums
0dab3ad66752fb6c046155a2b09ba565fb8331691af5d245af837dd66c1ebe90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

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