Add benchmark page

This commit is contained in:
世界 2022-07-09 14:44:48 +08:00
parent 6832451561
commit 8eecae92b2
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
3 changed files with 12 additions and 2 deletions

9
docs/benchmark.md Normal file
View File

@ -0,0 +1,9 @@
# Benchmark
## Shadowsocks
| / | none | aes-128-gcm | 2022-blake3-aes-128-gcm |
|------------------------------------|:-----------:|:-----------:|:-----------------------:|
| v2ray-core (5.0.7) | 13.0 Gbps | 5.02 Gbps | / |
| shadowsocks-rust (v1.15.0-alpha.5) | 10.7 Gbps | / | 9.36 Gbps |
| sing-box | 29.0 Gbps | / | 11.8 Gbps |

View File

@ -9,13 +9,13 @@ The universal proxy platform.
sing-box requires Golang 1.18 or a higher version.
```bash
$ go install github.com/sagernet/sing-box/cmd/sing-box@latest
go install github.com/sagernet/sing-box/cmd/sing-box@latest
```
The binary is built under $GOPATH/bin
```bash
$ sing-box version
sing-box version
```
## License

View File

@ -59,6 +59,7 @@ nav:
- examples/index.md
- Shadowsocks Server: examples/ss-server.md
- Shadowsocks Client: examples/ss-client.md
- Benchmark: benchmark.md
markdown_extensions:
- pymdownx.inlinehilite
- pymdownx.snippets