Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 2 additions & 12 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -125,19 +125,9 @@ Benchmarks
----------

``jsonschema``'s benchmarks make use of `pyperf
<https://pyperf.readthedocs.io>`_.
<https://pyperf.readthedocs.io>`_. Running them can be done via::

Running them can be done via ``tox -e perf``, or by invoking the ``pyperf``
commands externally (after ensuring that both it and ``jsonschema`` itself are
installed)::

$ python -m pyperf jsonschema/benchmarks/test_suite.py --hist --output results.json

To compare to a previous run, use::

$ python -m pyperf compare_to --table reference.json results.json

See the ``pyperf`` documentation for more details.
$ tox -e perf


Community
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ deps =

perf: pyperf

tests,tests_nongpl,coverage,codecov: -r{toxinidir}/test-requirements.txt
tests,tests_nongpl,coverage,codecov,perf: -r{toxinidir}/test-requirements.txt

coverage,codecov: coverage
codecov: codecov
Expand Down