Categorygithub.com/lxzan/wsbench
repositorypackage
1.1.0
Repository: https://github.com/lxzan/wsbench.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

wsbench

install

go install github.com/lxzan/wsbench@latest

help

NAME:
   wsbench - testing websocket server iops and latency

USAGE:
   wsbench [global options] command [command options] [arguments...]

COMMANDS:
   echo       
   broadcast  
   version    
   help, h    Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h  show help

example

Echo
wsbench echo -c 1000 -n 1000 -p 1000 -u 'ws://127.0.0.1:8000/connect,ws://127.0.0.1:8001/connect'
Broadcast
wsbench broadcast -c 1000 -n 1 -p 1000 -i 3 -u 'ws://127.0.0.1:8000/connect,ws://127.0.0.1:8001/connect'