command
Version:
v0.8.0
Opens a new window with list of versions in this module.
Published: Apr 8, 2026
License: AGPL-3.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
tinySQL Server Loadtest
Small built-in load generator for the cmd/server HTTP query endpoint.
Build
go build -o bin/tinysql-loadtest ./cmd/server/loadtest
Run
./bin/tinysql-loadtest \
-url http://127.0.0.1:8080/api/query \
-tenant default \
-sql "SELECT 1" \
-requests 10000 \
-concurrency 100
Optional auth:
./bin/tinysql-loadtest -auth "$TOKEN" ...
The tool prints:
- total duration
- achieved RPS
- transport vs HTTP errors
- latency: average, p50, p95, p99, max
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.