loadtest

command
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2026 License: AGPL-3.0 Imports: 11 Imported by: 0

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

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL