Skip to content

Commit d0ad6a4

Browse files
committed
Add docstring explaining how to run benchmarks
1 parent bfd3e2d commit d0ad6a4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/benchmarks/__init__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
"""Benchmarks for graphql
2+
3+
Benchmarks are disabled (only executed as tests) by default in setup.cfg.
4+
You can enable them with --benchmark-enable if your want to execute them.
5+
6+
E.g. in order to execute all the benchmarks with tox using Python 3.7::
7+
8+
tox -e py37 -- -k benchmarks --benchmark-enable
9+
"""

0 commit comments

Comments
 (0)