Skip to content

Commit 5dda967

Browse files
authored
Merge pull request #690 from jdmoorman/patch-1
WIP: Remove outdated benchmarking instructions.
2 parents 0b1f80f + 1921d48 commit 5dda967

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

README.rst

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -125,19 +125,9 @@ Benchmarks
125125
----------
126126

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

130-
Running them can be done via ``tox -e perf``, or by invoking the ``pyperf``
131-
commands externally (after ensuring that both it and ``jsonschema`` itself are
132-
installed)::
133-
134-
$ python -m pyperf jsonschema/benchmarks/test_suite.py --hist --output results.json
135-
136-
To compare to a previous run, use::
137-
138-
$ python -m pyperf compare_to --table reference.json results.json
139-
140-
See the ``pyperf`` documentation for more details.
130+
$ tox -e perf
141131

142132

143133
Community

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ deps =
3333

3434
perf: pyperf
3535

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

3838
coverage,codecov: coverage
3939
codecov: codecov

0 commit comments

Comments
 (0)