Files
shadowsocks-libev/docs/measurements/cpp20-udp-cpp-macos-arm64.json
T
Max Lv 462df80307 Report the C++20 rewrite: allocation, size, throughput and memory
docs/performance.md compares master (C) with the C++ engine on macOS
arm64: zero heap allocations per connection or datagram (from 27-89),
TCP throughput within noise, and about 20 MiB more RSS at 1,000 open
connections from the inline per-connection buffers. docs/cpp-core.md
and CLAUDE.md now describe the finished layout.
2026-10-15 00:34:32 +08:00

75 lines
1.6 KiB
JSON

[
{
"cipher": "aes-128-gcm",
"trial": 0,
"packets": 2000,
"payload_bytes": 1200,
"seconds": 0.2357705410104245,
"payload_mbps": 81.43511024624183
},
{
"cipher": "aes-128-gcm",
"trial": 1,
"packets": 2000,
"payload_bytes": 1200,
"seconds": 0.2256229999475181,
"payload_mbps": 85.09770725708854
},
{
"cipher": "aes-128-gcm",
"trial": 2,
"packets": 2000,
"payload_bytes": 1200,
"seconds": 0.2793988329358399,
"payload_mbps": 68.71896993359674
},
{
"cipher": "aes-256-gcm",
"trial": 0,
"packets": 2000,
"payload_bytes": 1200,
"seconds": 0.37632425012998283,
"payload_mbps": 51.01983194909257
},
{
"cipher": "aes-256-gcm",
"trial": 1,
"packets": 2000,
"payload_bytes": 1200,
"seconds": 0.3483593750279397,
"payload_mbps": 55.115496743729345
},
{
"cipher": "aes-256-gcm",
"trial": 2,
"packets": 2000,
"payload_bytes": 1200,
"seconds": 0.3203372920397669,
"payload_mbps": 59.936824332074636
},
{
"cipher": "chacha20-ietf-poly1305",
"trial": 0,
"packets": 2000,
"payload_bytes": 1200,
"seconds": 0.305656208191067,
"payload_mbps": 62.815671612329886
},
{
"cipher": "chacha20-ietf-poly1305",
"trial": 1,
"packets": 2000,
"payload_bytes": 1200,
"seconds": 0.2925001250114292,
"payload_mbps": 65.6409975867524
},
{
"cipher": "chacha20-ietf-poly1305",
"trial": 2,
"packets": 2000,
"payload_bytes": 1200,
"seconds": 0.29241770785301924,
"payload_mbps": 65.65949832850302
}
]