Skip to main content

Data model for PIGA KROKD repository

Project description

https://img.shields.io/github/license/oarepo/oarepo-profiler.svg https://img.shields.io/travis/oarepo/oarepo-profiler.svg https://img.shields.io/coveralls/oarepo/oarepo-profiler.svg https://img.shields.io/pypi/v/oarepo-profiler.svg

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

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

oarepo_profiler-1.0.1.tar.gz (6.6 kB view hashes)

Uploaded Source

Built Distribution

oarepo_profiler-1.0.1-py2.py3-none-any.whl (6.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page