Skip to main content

Python tracing profiler

Project description

pttp

PyPI - Version PyPI - Python Version


A Python tracing profiler.

Tracing profilers trace every function call in your Python program.

Tracing profilers in Python are fairly trivial (mostly just calling sys.settrace()). pttp's notable feature is it calls your code, so you don't have to modify your source code.

Installation

pip install pttp

Usage

## Generate Python trace data
python -m pttp your_script.py
python -m pttp -m your_script

## Upload 'your_script.speedscope.json' to https://speedscope.app to view the profile.

License

pttp is distributed under the terms of the MIT license.

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

pttp-0.0.3.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

pttp-0.0.3-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file pttp-0.0.3.tar.gz.

File metadata

  • Download URL: pttp-0.0.3.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.24.1

File hashes

Hashes for pttp-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b18025d70e93be03d2a4f3b303f837a4481f33c5223df671b4e619a1261b24a2
MD5 9afebc44e8d35c69eaac930160882bcf
BLAKE2b-256 5d2fc2f1a82a1ac7bb9d4492428e8cec01f4f297255faacd0ca6b48b3e61002f

See more details on using hashes here.

File details

Details for the file pttp-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: pttp-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.24.1

File hashes

Hashes for pttp-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8ac6147f4ff0d5c59b47126d6c69b81eda9a1dac44ccd6a641600c8b049570f4
MD5 d8689c47499f49a324b8c325481dbb11
BLAKE2b-256 03fb49b5dd3088f954cefac3873ba70dc2443d107fac387958a96c708577f9b5

See more details on using hashes here.

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