Skip to content

Commit

Permalink
Merge pull request python-jsonschema#690 from jdmoorman/patch-1
Browse files Browse the repository at this point in the history
WIP: Remove outdated benchmarking instructions.
  • Loading branch information
Julian authored May 22, 2020
2 parents 0b1f80f + 1921d48 commit 5dda967
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
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

0 comments on commit 5dda967

Please sign in to comment.