stream-performance

command
v3.0.0-beta.11 Latest Latest
Warning

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

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

Documentation

Overview

Command streamperf is the load harness for GoStream.

It answers the questions the design could not answer by argument: how much throughput a held-poll transport sustains Go→JS, whether anything is lost or reordered under load, what it costs in host and content-process memory, and how long a Send blocks.

It drives StreamConn.Send directly — the transport entry point — so what is measured is the transport, not application-level fanout.

Run (macOS):

go run ./tests/stream-performance -duration 20s

One scenario only:

go run ./tests/stream-performance -only rate-5000

Jump to

Keyboard shortcuts

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