======================================== hw_service_go 并发压力测试 ======================================== 目标地址: wss://qiyuan-rtc-api.airlabs.art/xiaozhi/v1/ 总连接数: 100 触发故事: 10 建连速率: 20/s 测试时长: 1m0s MAC 前缀: AA:BB:CC:DD ======================================== [2s] conns: 40/100 handshaked: 40 stories: 10 sent frames: 245 errors: 0 healthz: {"status": "ok"} [4s] conns: 79/100 handshaked: 79 stories: 10 sent frames: 575 errors: 0 healthz: {"status": "ok"} 所有连接已发起,等待 1m0s... [6s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 909 errors: 0 healthz: {"status": "ok"} [8s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 1240 errors: 0 healthz: {"status": "ok"} [10s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 1575 errors: 0 healthz: {"status": "ok"} [12s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 1909 errors: 0 healthz: {"status": "ok"} [14s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 2240 errors: 0 healthz: {"status": "ok"} [16s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 2575 errors: 0 healthz: {"status": "ok"} [18s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 2909 errors: 0 healthz: {"status": "ok"} [20s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 3240 errors: 0 healthz: {"status": "ok"} [22s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 3575 errors: 0 healthz: {"status": "ok"} [24s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 3909 errors: 0 healthz: {"status": "ok"} [26s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 4240 errors: 0 healthz: {"status": "ok"} [28s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 4575 errors: 0 healthz: {"status": "ok"} [30s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 4909 errors: 0 healthz: {"status": "ok"} [32s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 5240 errors: 0 healthz: {"status": "ok"} [34s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 5575 errors: 0 healthz: {"status": "ok"} [36s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 5909 errors: 0 healthz: {"status": "ok"} [38s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 6240 errors: 0 healthz: {"status": "ok"} [40s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 6575 errors: 0 healthz: {"status": "ok"} [42s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 6909 errors: 0 healthz: {"status": "ok"} [44s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 7240 errors: 0 healthz: {"status": "ok"} [46s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 7575 errors: 0 healthz: {"status": "ok"} [48s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 7909 errors: 0 healthz: {"status": "ok"} [50s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 7960 errors: 0 healthz: {"status": "ok"} [52s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 7960 errors: 0 healthz: {"status": "ok"} [54s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 7960 errors: 0 healthz: {"status": "ok"} [56s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 7960 errors: 0 healthz: {"status": "ok"} [58s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 7960 errors: 0 healthz: {"status": "ok"} [1m0s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 7960 errors: 0 healthz: {"status": "ok"} [1m2s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 7960 errors: 0 healthz: {"status": "ok"} [1m4s] conns: 100/100 handshaked: 100 stories: 10 sent frames: 7960 errors: 0 healthz: {"status": "ok"} 测试时长到期,正在停止... ========== 测试报告 ========== 目标连接数: 100 连接尝试: 100 成功连接: 100 连接失败: 0 握手成功: 100 握手失败: 0 ------------------------------ 触发故事数: 10 收到 tts start: 10 收到 tts stop: 10 Opus 帧总数: 7960 平均帧数/故事: 796 首帧延迟(avg): 324ms 错误总数: 0 ==============================