benchmark

command
v0.0.0-...-9b703e0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: MIT Imports: 7 Imported by: 0

README

Benchmark script

Subscribe clients on channel test and then publish message into this channel. Measure time until all messages received by subscribed clients.

To run benchmark.go allow publish into channel and execute:

{
  "secret": "secret",
  "publish": true
}

run with 4000 max clients incrementing client amount by 1000 and repeat measuremrents 50 times:

go run benchmark.go ws://localhost:8000/connection/websocket secret 4000 1000 50

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