loadtest

command
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Command loadtest runs end-to-end load tests against a real wshub server with real WebSocket connections to find bottlenecks that micro-benchmarks miss.

Usage:

go run ./cmd/loadtest -scenario=all -clients=5000 -duration=10s
go run ./cmd/loadtest -scenario=fanout -clients=10000 -duration=30s -msg-rate=500
go run ./cmd/loadtest -scenario=churn -clients=5000 -churn-rate=100
go run ./cmd/loadtest -scenario=fanout -clients=10000 -parallel=100

Jump to

Keyboard shortcuts

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