Python profiling tools using cProfile and pstats
Project description
profiling-tools
Python profiling tools using cProfile and pstats
Installation
pip install profiling-tools
Usage example
Importing
from profiling_tools.profiling_utils import profile
Usage as decorator
@profile
def some_function():
...
Running your function some_function with the profile decorator
produces a file stats/some_function.stats containing the results of the profiling
created with cProfile.
This file can then be analyzed and visualized using the analyze_stats module.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file profiling_tools-0.0.14.tar.gz.
File metadata
- Download URL: profiling_tools-0.0.14.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1e48610ff80c2f8e39ea73b974aaaa543bd9bab53e3aa411c9387bfe91b1e38
|
|
| MD5 |
37971982eb28e6427ed4e69b30bf0683
|
|
| BLAKE2b-256 |
c7ecedc7b0ab7b0fff7300040639509bbda4a97aab9db637175973806264837c
|
Provenance
The following attestation bundles were made for profiling_tools-0.0.14.tar.gz:
Publisher:
release.yaml on TheNewThinkTank/profiling-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
profiling_tools-0.0.14.tar.gz -
Subject digest:
d1e48610ff80c2f8e39ea73b974aaaa543bd9bab53e3aa411c9387bfe91b1e38 - Sigstore transparency entry: 220168377
- Sigstore integration time:
-
Permalink:
TheNewThinkTank/profiling-tools@3179af57676a321bdfbbfab3f54c6637d39e9157 -
Branch / Tag:
refs/tags/0.0.14 - Owner: https://github.com/TheNewThinkTank
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@3179af57676a321bdfbbfab3f54c6637d39e9157 -
Trigger Event:
push
-
Statement type:
File details
Details for the file profiling_tools-0.0.14-py3-none-any.whl.
File metadata
- Download URL: profiling_tools-0.0.14-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb9bc77882e468f8509b65cf40b20a7f7d7ebaa4b98217755ef3eb3e69bccdf3
|
|
| MD5 |
9e7d01a1e98e4e17391ee71bbca451a7
|
|
| BLAKE2b-256 |
f96998012dc90c5cb4102e5381309bc4258e9eeac135542aabaab3cd96c2f1c8
|
Provenance
The following attestation bundles were made for profiling_tools-0.0.14-py3-none-any.whl:
Publisher:
release.yaml on TheNewThinkTank/profiling-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
profiling_tools-0.0.14-py3-none-any.whl -
Subject digest:
cb9bc77882e468f8509b65cf40b20a7f7d7ebaa4b98217755ef3eb3e69bccdf3 - Sigstore transparency entry: 220168380
- Sigstore integration time:
-
Permalink:
TheNewThinkTank/profiling-tools@3179af57676a321bdfbbfab3f54c6637d39e9157 -
Branch / Tag:
refs/tags/0.0.14 - Owner: https://github.com/TheNewThinkTank
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@3179af57676a321bdfbbfab3f54c6637d39e9157 -
Trigger Event:
push
-
Statement type: