-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtox_benchmarks.ini
47 lines (41 loc) · 1.09 KB
/
tox_benchmarks.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[tox]
basepython = python3.12
envlist =
py{39,310,311,312,313}
; py{39}
benchman-combine
skip_missing_interpreters = true
# TOX Test Environment
[testenv]
; skip_install = true
deps =
../benchman_pre
pytest
changedir = {toxinidir}
commands =
python -V
pytest -v \
-o addopts="" \
--benchmarks tests/test_bench.py
; ignore_outcome = true
; parallel_show_output = true
[testenv:benchman-combine]
description = Combine benchmark results
# Make sure to run this last
depends = py{39,310,311,312,313}
; skip_install = true
changedir = {toxinidir}
commands:
benchman combine
benchman report
benchman report \
--columns name,variant \
--dyn-col-name python --dyn-col-value ops \
--output .benchman/report-by-pyver.latest.md
; benchman report --columns name,mean,median,stdev --dyn-col-name python --dyn-col-value best
benchman report \
--columns name,variant,python,min,ops,stdev \
--sort name,variant,python \
--output .benchman/report.latest.md
; ignore_outcome = true
; parallel_show_output = true