diff --git a/README.rst b/README.rst index ee68a13f0..6c808020f 100644 --- a/README.rst +++ b/README.rst @@ -125,19 +125,9 @@ Benchmarks ---------- ``jsonschema``'s benchmarks make use of `pyperf -`_. +`_. 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 diff --git a/tox.ini b/tox.ini index 51db97919..4d42e2bc8 100644 --- a/tox.ini +++ b/tox.ini @@ -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