Compare commits
3 commits
909d9d0a9c
...
1aecbeab87
Author | SHA1 | Date | |
---|---|---|---|
1aecbeab87 | |||
03bf81de46 | |||
3066c64058 |
2 changed files with 52 additions and 1 deletions
22
LICENSE
Normal file
22
LICENSE
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright © 2024 Andrey DarkCat09
|
||||||
|
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the “Software”), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
THE SOFTWARE.
|
31
README.md
31
README.md
|
@ -6,7 +6,36 @@ client commands are shown in `bench_*.txt` files.
|
||||||
All you need is iperf3 on client and server, hyperfine on client,
|
All you need is iperf3 on client and server, hyperfine on client,
|
||||||
xray and sing-box binaries (take from "Releases" or compile by yourself) placed on client and server.
|
xray and sing-box binaries (take from "Releases" or compile by yourself) placed on client and server.
|
||||||
|
|
||||||
Results in a nutshell: (TODO)
|
## In a nutshell
|
||||||
|
|
||||||
|
Results are inaccurate, they look like a statistical error, made by,
|
||||||
|
for example, different ISP's network load, that's why I said "an attempt on benchmarking".
|
||||||
|
|
||||||
|
Both proxies are almost the same speed. *Xray was sometimes a bit faster.*
|
||||||
|
But in iperf3 benchmark it often behaved weird: from 2nd packet speed was dropping to zero.
|
||||||
|
|
||||||
|
So, use what you want / to what you already get used / what works better in your case.
|
||||||
|
As for me, I found sing-box' JSON config more convenient than Xray's.
|
||||||
|
On the other hand, Xray provides more features to hide a proxy,
|
||||||
|
that is important, I guess (?), in China and Iran.
|
||||||
|
|
||||||
|
## Version
|
||||||
|
|
||||||
|
sing-box built from dev-next branch, [26f092d](https://github.com/SagerNet/sing-box/commit/26f092da6fb0801b11c91fd5c8468e9949312e02)
|
||||||
|
```
|
||||||
|
sing-box version unknown
|
||||||
|
|
||||||
|
Environment: go1.23.2 linux/amd64
|
||||||
|
Tags: with_gvisor,with_dhcp,with_wireguard,with_reality_server,with_clash_api,with_quic,with_utls,with_ech
|
||||||
|
Revision: d97a7569507816bf2ac1a355e19d26b521fb046e
|
||||||
|
CGO: enabled
|
||||||
|
```
|
||||||
|
|
||||||
|
Xray-core built from main branch, [5a96ef6](https://github.com/XTLS/Xray-core/commit/5a96ef632d65b8e68c4f337e0f918a55d1925396)
|
||||||
|
```
|
||||||
|
Xray 24.11.11 (Xray, Penetrates Everything.) 5a96ef6 (go1.23.2 linux/amd64)
|
||||||
|
A unified platform for anti-censorship.
|
||||||
|
```
|
||||||
|
|
||||||
## hyperfine, curl, direct outbound
|
## hyperfine, curl, direct outbound
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue