Skip to content

v0.0.8版本

Compare
Choose a tag to compare
@guonaihong guonaihong released this 22 Jul 02:09
· 126 commits to main since this release

这个版本主要做性能方面的大量优化。测试数据如下

  • tps
./quickws.linux -d
sec: 10, count: 5097579, qps: 463416
sec: 100, count: 47856879, qps: 473830
  • 流量
WARNING: Dumb terminal, expect unglorified output.
Destination: [127.0.0.1]:9001
Interface lo address [127.0.0.1]:0
Using interface lo to connect to [127.0.0.1]:9001
Ramped up to 10000 connections.
Total data sent:     108991.9 MiB (114286341911 bytes)
Total data received: 109577.8 MiB (114900700111 bytes)
Bandwidth per channel: 6.083⇅ Mbps (760.4 kBps)
Aggregate bandwidth: 30639.468↓, 30475.643↑ Mbps
Packet rate estimate: 2637144.3↓, 2663145.9↑ (8↓, 35↑ TCP MSS/op)
Test duration: 30.0007 s.

上面的数据都跑在5800h cpu上。
测试项目位于 https://github.com/guonaihong/bench-ws