Installation
pip install oarepo-profiler
Usage
change the wsgi endpoint from invenio_app.wsgi:application to oarepo_profiler:application
to start profiling, add OAREPO_PROFILER_ENABLED=True to invenio.cfg. Implicitly the profs files will be created in /tmp/oarepo-profiler. This location can be changed by setting OAREPO_PROFILER_PATH
use third party tools (such as snakeviz) to interpret the result of profiling
Metadata
Release files for oarepo-profiler 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| oarepo_profiler-1.0.1.tar.gz | 6.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| oarepo_profiler-1.0.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 12.7 kB
Release files / oarepo_profiler-1.0.1.tar.gz
| Download URL | oarepo_profiler-1.0.1.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d23c865cb0b1802e94d057e19653ce9da39e7685c77137831b099a709faa3c39
|
|
BLAKE2b-256 checksum How to use checksums |
e2dddaa61762cfd39f2e420e108d6ec3ca33aa5215e9763cd637da9f4e307ffe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0
|
Release files / oarepo_profiler-1.0.1-py2.py3-none-any.whl
| Download URL | oarepo_profiler-1.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
7e0cf12f815f22346cb57aa443aa25065f9047a4123a00d721af55e7fd5a10d4
|
|
BLAKE2b-256 checksum How to use checksums |
ca039d900a996499f497400d7518bc818183e771685b9f721b95feb051d676db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0
|