Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Remove outdated benchmarking instructions. #690

Merged
merged 3 commits into from
May 22, 2020
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
Julian marked this conversation as resolved.
Show resolved Hide resolved

coverage,codecov: coverage
codecov: codecov
Expand Down