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:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user