Skip to content

Commit e9e9019

Browse files
committed
Just allow passing extra args directly to perf from tox.
1 parent e0ebb6d commit e9e9019

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tox.ini

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

38-
perf,perfsuite: mkdir {envtmpdir}/benchmarks/
39-
perf: {envpython} {toxinidir}/jsonschema/benchmarks/issue232.py --inherit-environ JSON_SCHEMA_TEST_SUITE --output {envtmpdir}/benchmarks/issue232.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
38+
perf: {envpython} {toxinidir}/jsonschema/benchmarks/issue232.py --inherit-environ JSON_SCHEMA_TEST_SUITE {posargs:--output {envtmpdir}/bench-issue232.json}
39+
perfsuite: {envpython} {toxinidir}/jsonschema/benchmarks/json_schema_test_suite.py --inherit-environ JSON_SCHEMA_TEST_SUITE {posargs:--output {envtmpdir}/bench-json_schema_test_suite.json}
4240

4341
build: {envpython} -m build {toxinidir} --outdir {envtmpdir}/dist
4442
deps =

0 commit comments

Comments
 (0)