https://github.com/simonswine/cp-python
X
https://github.com/simonswine/cp-python
Last synced: 3 months ago
JSON representation
X
- Host: GitHub
- URL: https://github.com/simonswine/cp-python
- Owner: simonswine
- Created: 2022-10-20T11:35:06.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-24T16:35:47.000Z (about 3 years ago)
- Last Synced: 2025-03-15T16:48:48.714Z (9 months ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Continuous Profiling for Python
The use of [zprofile] requires to build the wheel for the particular libraries shipped, locally refer to the [Dockerfile] how to achieve this.
## Run backend
```shell
$ docker run -p 8081:8081 docker.io/simonswine/cp-python:0.1.0
```
## Collect profiles
```shell
$ pprof -http :6060 "http://localhost:8081/debug/pprof/profile?seconds=1"
```