Skip to content

Commit e0ebb6d

Browse files
committed
Minor tweaks to differentiate between perf tox envs.
Still needs improvement (besides expanding the benchmark suite entirely).
1 parent 3ca05dc commit e0ebb6d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tox.ini

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,16 @@ commands =
3535
codecov: {envpython} -m coverage xml -o {envtmpdir}/coverage.xml
3636
codecov: codecov --required --disable gcov --file {envtmpdir}/coverage.xml
3737

38-
perf: mkdir {envtmpdir}/benchmarks/
38+
perf,perfsuite: mkdir {envtmpdir}/benchmarks/
3939
perf: {envpython} {toxinidir}/jsonschema/benchmarks/issue232.py --inherit-environ JSON_SCHEMA_TEST_SUITE --output {envtmpdir}/benchmarks/issue232.json
40-
perf: {envpython} {toxinidir}/jsonschema/benchmarks/json_schema_test_suite.py --inherit-environ JSON_SCHEMA_TEST_SUITE --output {envtmpdir}/benchmarks/json_schema_test_suite.json
40+
perf: {envpython} -m pyperf stats {envtmpdir}/benchmarks/issue232.json
41+
perfsuite: {envpython} {toxinidir}/jsonschema/benchmarks/json_schema_test_suite.py --inherit-environ JSON_SCHEMA_TEST_SUITE --output {envtmpdir}/benchmarks/json_schema_test_suite.json
4142

4243
build: {envpython} -m build {toxinidir} --outdir {envtmpdir}/dist
4344
deps =
4445
build: build
4546

46-
perf: pyperf
47+
perf,perfsuite: pyperf
4748

4849
tests,coverage,codecov: twisted
4950

0 commit comments

Comments
 (0)