test: add optional latency to postgrest-loadtest

This pipes data between client/postgrest and between
postgrest/database through a proxy that adds delay
(github.com/robx/slocat).
This commit is contained in:
Robert Vollmert
2023-03-20 15:00:11 +01:00
committed by Robert
parent a8e02f766b
commit 216dc833fd
6 changed files with 98 additions and 2 deletions
+3
View File
@@ -204,6 +204,9 @@ postgrest-loadtest
# You can loadtest comparing to a different branch
postgrest-loadtest-against master
# You can simulate latency client/postgrest and postgrest/database
PGRST_DELAY=5ms PGDELAY=5ms postgrest-loadtest
# Produce a markdown report to be used on CI
postgrest-loadtest-report
```