summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2022-07-26 10:02:34 +0300
committerJulian Berman <Julian@GrayVines.com>2022-07-26 10:02:34 +0300
commite0ebb6da87020983c099d39ca37751d98c91ea35 (patch)
tree5066b2d64b66fddf583bc3068ad79a9203da9515 /tox.ini
parent3ca05dc5db0b8538205fe6015197af0cfaa453d7 (diff)
downloadjsonschema-e0ebb6da87020983c099d39ca37751d98c91ea35.tar.gz
Minor tweaks to differentiate between perf tox envs.
Still needs improvement (besides expanding the benchmark suite entirely).
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 4 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index eb22013..4a60c81 100644
--- a/tox.ini
+++ b/tox.ini
@@ -35,15 +35,16 @@ commands =
codecov: {envpython} -m coverage xml -o {envtmpdir}/coverage.xml
codecov: codecov --required --disable gcov --file {envtmpdir}/coverage.xml
- perf: mkdir {envtmpdir}/benchmarks/
+ perf,perfsuite: mkdir {envtmpdir}/benchmarks/
perf: {envpython} {toxinidir}/jsonschema/benchmarks/issue232.py --inherit-environ JSON_SCHEMA_TEST_SUITE --output {envtmpdir}/benchmarks/issue232.json
- perf: {envpython} {toxinidir}/jsonschema/benchmarks/json_schema_test_suite.py --inherit-environ JSON_SCHEMA_TEST_SUITE --output {envtmpdir}/benchmarks/json_schema_test_suite.json
+ perf: {envpython} -m pyperf stats {envtmpdir}/benchmarks/issue232.json
+ perfsuite: {envpython} {toxinidir}/jsonschema/benchmarks/json_schema_test_suite.py --inherit-environ JSON_SCHEMA_TEST_SUITE --output {envtmpdir}/benchmarks/json_schema_test_suite.json
build: {envpython} -m build {toxinidir} --outdir {envtmpdir}/dist
deps =
build: build
- perf: pyperf
+ perf,perfsuite: pyperf
tests,coverage,codecov: twisted