From 94feaa939db62fcbd3ee4f38ec184fb40f06c633 Mon Sep 17 00:00:00 2001 From: "Jacob D. Moorman" Date: Thu, 21 May 2020 15:24:19 -0700 Subject: [PATCH 1/3] Remove outdated instructions for benching. --- README.rst | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.rst b/README.rst index ee68a13f0..66697afc5 100644 --- a/README.rst +++ b/README.rst @@ -127,11 +127,7 @@ Benchmarks ``jsonschema``'s benchmarks make use of `pyperf `_. -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 +Running them can be done via ``tox -e perf``. To compare to a previous run, use:: From 225a64ae0fb9db0bce96c5f9a3d3365bc072f199 Mon Sep 17 00:00:00 2001 From: Jacob Moorman Date: Thu, 21 May 2020 15:32:56 -0700 Subject: [PATCH 2/3] Add test test-requirements to perf deps. --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 1921d4899adee21c4068c5a615807e3406030eb5 Mon Sep 17 00:00:00 2001 From: "Jacob D. Moorman" Date: Thu, 21 May 2020 16:54:05 -0700 Subject: [PATCH 3/3] Remove old instructions for comparing benchmarks. Since they no longer work. --- README.rst | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/README.rst b/README.rst index 66697afc5..6c808020f 100644 --- a/README.rst +++ b/README.rst @@ -125,15 +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``. - -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