-
Notifications
You must be signed in to change notification settings - Fork 116
/
bench.ini
67 lines (51 loc) · 1015 Bytes
/
bench.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[tox]
envlist = py27,py34,py35,py36,pypy,pypy3
[base]
deps =
pytest
psutil
[testenv]
deps=
dawg >= 0.7.7
tqdm
{[base]deps}
;setenv =
; PYMORPHY2_DICT_PATH = ../pymorphy2-dicts/pymorphy2_dicts/data
commands=
python setup.py install
pymorphy dict mem_usage
python benchmarks/bench.py run []
[testenv:py27]
deps=
futures
dawg >= 0.7.7
{[base]deps}
[testenv:pypy]
deps=
futures
{[base]deps}
commands=
python setup.py install
pymorphy dict mem_usage
python benchmarks/bench.py run {posargs:--repeats=37}
[testenv:pypy3]
deps=
{[base]deps}
commands=
python setup.py install
; psutil doesn't work with pypy3 + OS X
; pymorphy dict mem_usage
python benchmarks/bench.py run {posargs:--repeats=37}
[testenv:no_compiler]
basepython=python2.7
deps=
futures
{[base]deps}
[testenv:py27_no_compiler]
basepython = python2.7
deps=
{[base]deps}
[testenv:py36_no_compiler]
basepython = python3.6
deps=
{[base]deps}