summary refs log tree commit diff
path: root/tox.ini
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2019-12-03 20:21:25 +1100
committerGitHub <noreply@github.com>2019-12-03 20:21:25 +1100
commitfdec84aa427e2e3b806eb15f462d652f8554cc8d (patch)
treeb19a82452978801a2320daac6e80ff48cf942453 /tox.ini
parentTransfer power level state events on room upgrade (#6237) (diff)
downloadsynapse-fdec84aa427e2e3b806eb15f462d652f8554cc8d.tar.xz
Add benchmarks for structured logging performance (#6266)
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini9
1 files changed, 9 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 62b350ea6a..903a245fb0 100644
--- a/tox.ini
+++ b/tox.ini
@@ -102,6 +102,15 @@ commands =
 
     {envbindir}/coverage run "{envbindir}/trial"  {env:TRIAL_FLAGS:} {posargs:tests} {env:TOXSUFFIX:}
 
+[testenv:benchmark]
+deps =
+    {[base]deps}
+    pyperf
+setenv =
+    SYNAPSE_POSTGRES = 1
+commands =
+    python -m synmark {posargs:}
+
 [testenv:packaging]
 skip_install=True
 deps =