Skip to content

Commit

Permalink
Minor tweaks to differentiate between perf tox envs.
Browse files Browse the repository at this point in the history
Still needs improvement (besides expanding the benchmark suite
entirely).
  • Loading branch information
Julian committed Jul 26, 2022
1 parent 3ca05dc commit e0ebb6d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tox.ini
Expand Up @@ -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

Expand Down

0 comments on commit e0ebb6d

Please sign in to comment.