1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.
zprofile
Statistical (sampling) CPU and wall-clock profilers for Python, derived from google-cloud-profiler.
Google Cloud Python profiling agent
Python profiling agent for Google Cloud Profiler.
See Google Cloud Profiler profiling Python code for detailed documentation.
Supported OS
Linux. Profiling Python applications is supported for Linux kernels whose
standard C library is implemented with glibc or with musl. For configuration
information specific to Linux Alpine kernels, see
Running on Linux Alpine.
Supported Python Versions
Python >= 3.7 and <= 3.11
Installation & usage
-
Install the profiler package using PyPI:
pip3 install zprofile
-
Enable the profiler in your application:
from zprofile.cpu_profiler import CPUProfiler p = CPUProfiler() pprof = p.profile(30) # seconds with open("profile.pprof", "wb") as f: f.write(pprof)
-
View the profile with the
pproftool:$ go tool pprof -http localhost:8080 profile.pprof
Metadata
Release files for zprofile 1.0.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zprofile-1.0.13.tar.gz | 28.7 kB | Details |
Built distributions (wheels)
Total release size: 5.3 MB
Release files / zprofile-1.0.13.tar.gz
| Download URL | zprofile-1.0.13.tar.gz |
|---|---|
| Size | 28.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
406bef1db27f7e9f2b7050ffdfeebe266dc89e248a0cc9f41ab882bb9c207e0d
|
|
BLAKE2b-256 checksum How to use checksums |
1862c196e00f62a4856c3de71b55c8569b28b75a826a531854551fe33e45d263
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / zprofile-1.0.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | zprofile-1.0.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 751.5 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
4c153758d5aeb6316e00780aeac86597c451f009216a47005b3e057a5b52d975
|
|
BLAKE2b-256 checksum How to use checksums |
c514ed310e62e5e74432440f2c683b339985029bf494da8686a68fc6b7f58912
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / zprofile-1.0.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | zprofile-1.0.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 750.3 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
02d50e818e2d7c92ee01c83ac72d56878b915576ab0a7cb075e7509b2c95fe3b
|
|
BLAKE2b-256 checksum How to use checksums |
9dd1e51214030238a2f172b781367af829d193e5572a8882c9aa9cdd81dd39c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / zprofile-1.0.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | zprofile-1.0.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 748.4 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
6e6940530147442d302a229ffa441d6ecbf5681974b2a624aaa9af28e77c6a53
|
|
BLAKE2b-256 checksum How to use checksums |
e47e3f160cd94b7ba336886ced25615118224f86c7a0dbf37798b6778cffe020
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / zprofile-1.0.13-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | zprofile-1.0.13-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 747.7 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
4bba7dfe456134df8f315a0923fe8b571c28bdf80f671a619a7393f6aa2435f4
|
|
BLAKE2b-256 checksum How to use checksums |
78b779cd47ee764148c4d05f193d2f4f64d81ec38fda547d8859179ab1dcf613
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / zprofile-1.0.13-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | zprofile-1.0.13-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 747.8 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
f783984fb8ef50deb4c1729cc135863e5f7a6abf1e4c1b1a902c7f81a4ce78f8
|
|
BLAKE2b-256 checksum How to use checksums |
f5098ba9f994a033fcad7eca956f25d74ff193ad6471ef1e34441dbcc49adb3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / zprofile-1.0.13-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | zprofile-1.0.13-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 749.9 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
b88004aa004b0ec3a0ee7e052e8744d6b7abbe6c9fef1021a3eeceae169690cf
|
|
BLAKE2b-256 checksum How to use checksums |
c57bbe1920d98b78807c68b6e1eddb2dbcc56f069020236f132525775944039a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / zprofile-1.0.13-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | zprofile-1.0.13-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 746.9 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
9d4d6ff46db17ad2976636364e4a6a2d43c05ba98ea63f6fc8edeb6c92d7fc49
|
|
BLAKE2b-256 checksum How to use checksums |
78902816fe4d029e9483855a98fdc9f3d04e05f9e65c61efc5995be7839d28d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|