Help us shape the future of Go! Take the 2026 Go Developer Survey

capacity

command
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Capacity load generator for GoOne connsvr.

Deprecated: V4 P1-03 起,容量测试的唯一主路径是 stress 工具 (tools/tester/cmd/stress)。本工具把 socket Write 成功误认为登录/心跳成功, 不校验业务响应码,不能作为容量证据。保留仅为兼容历史脚本,新增容量测试请用:

go run ./tools/tester/cmd/stress -config ./tools/tester/stress.toml

跑完后用 report.CapacityMatrix 把 stress_*.json 汇总为容量矩阵:

见 docs/benchmarks/capacity-matrix.md

Jump to

Keyboard shortcuts

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