forked from xiongyuxing/tiku-backend.net
535 B
535 B
TIKU API performance scenarios
Run the API against a prepared PostgreSQL database, then execute:
TIKU_BASE_URL=http://localhost:5000 \
TIKU_TENANT_CODE=<tenant-code> \
TIKU_ACCESS_TOKEN=<optional-access-token> \
k6 run tools/performance/tiku-api.js
Do not store access tokens or database credentials in this directory. The default threshold is only a smoke gate; release comparison uses the same dataset and environment before and after a change, and requires at least a 50% p95 improvement for the targeted endpoint.