# HG changeset patch # User Thomas De Schampheleire # Date 2017-07-01 20:39:41 # Node ID 043621a79cdb2e51c16362b9effd5f204668f57b # Parent 02c820c5c48e1d848fb57d5121c2d1416542f9b5 docs: mention pytest-profiling Could be useful for analysis of performance problems. diff --git a/docs/contributing.rst b/docs/contributing.rst --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -109,6 +109,11 @@ To run these tests:: env TEST_PERFORMANCE=1 py.test kallithea/tests/performance +To analyze performance, you could install pytest-profiling_, which enables the +--profile and --profile-svg options to py.test. + +.. _pytest-profiling: https://github.com/manahl/pytest-plugins/tree/master/pytest-profiling + Contribution guidelines -----------------------