Skip to main content

Simple yappi flamegraphs

Project description

yapflame

Simple yappi flamegraphs with support for multi-threading.

Installation

pip install yapflame
uv add yapflame
# and others...

Examples

from yapflame import profile

with profile() as p:
    do_work()

p.open() # browser
p.save("o.html") # file

enabled=False to noop:

with profile(enabled=DEBUG) as p:
    do_work()
if p:
    p.open()

or via cli:

yapflame script.py
yapflame script.py -o out.html
yapflame script.py --cpu

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yapflame-0.1.3.tar.gz (338.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yapflame-0.1.3-py3-none-any.whl (122.1 kB view details)

Uploaded Python 3

File details

Details for the file yapflame-0.1.3.tar.gz.

File metadata

  • Download URL: yapflame-0.1.3.tar.gz
  • Upload date:
  • Size: 338.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for yapflame-0.1.3.tar.gz
Algorithm Hash digest
SHA256 dc6f332349b9c4ef00514cf76ac7562dfa35083da6a2c61d29347c539b120fbe
MD5 1010cf57ee69791b8b6231967c82bacc
BLAKE2b-256 8c0dbce23a7a73f9d6a29c33a4cb800ddb5d4cdb328551f8a1c9675e4d4926f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for yapflame-0.1.3.tar.gz:

Publisher: release.yml on bekerk/yapflame

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file yapflame-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: yapflame-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 122.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for yapflame-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 74141804cdcb52332ffbaf2b6ff845556c0f93354f7586b10d96e6f249741816
MD5 e6c96e91b3e7ce994e4ee3b4d23294aa
BLAKE2b-256 efa7d5908d978974788ca753e6f71d64f9e5a25a34adfc35eec8b08b6aed10ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for yapflame-0.1.3-py3-none-any.whl:

Publisher: release.yml on bekerk/yapflame

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page