Add comparison bench1

This commit is contained in:
Toby 2020-04-24 22:17:10 -07:00
parent 5dcd6a50e9
commit 5434a5e064
2 changed files with 18 additions and 2 deletions

View File

@ -15,7 +15,7 @@ Hysteria is a set of relay & proxy utilities that are specifically optimized for
## Quick Start
(See the next section for the exact meaning of each argument)
(See the [advanced usage section](#advanced-usage) for the exact meaning of each argument)
### Proxy
@ -50,6 +50,14 @@ All connections to client's localhost TCP 8080 will pass through the relay and c
Some users may attempt to forward other encrypted proxy protocols such as Shadowsocks with relay. While this totally works, it's not optimal from a performance standpoint - our protocol itself uses TLS, considering that the proxy protocols being forwarded are also encrypted, and the fact that users mainly use them for HTTPS connections nowadays, you are essentially doing triple encryption. If you need a proxy, use our proxy mode.
## Comparison
Proxy Client: Guangzhou, China Mobile Broadband 100 Mbps
Proxy Server: AWS US West Oregon (us-west-2)
![Bench1](docs/bench/bench1.png)
## Advanced usage
The command line program supports loading configurations from both JSON files and arguments. Use `-config` to specify a JSON file. Config loaded from it can also be overwritten or extended with command line arguments.

View File

@ -13,7 +13,7 @@ Hysteria 是专门针对恶劣网络环境(常见于在中国访问海外服
## 快速入门
关于每个参数具体的含义请见下一个章节
关于每个参数具体的含义请见 [高级用法](#高级用法)
### 代理
@ -48,6 +48,14 @@ Hysteria 是专门针对恶劣网络环境(常见于在中国访问海外服
有些用户可能会尝试用这个功能转发其他加密代理协议比如Shadowsocks。虽然这完全可行但从性能的角度并不是最佳选择 - 我们的协议本身就有 TLS转发的代理协议也是加密的再加上用户用来访问 HTTPS 网站,等于做了三重加密。如果需要代理就用我们的代理模式。
## 对比
代理客户端:广州移动宽带 100M
代理服务端: AWS 美西 Oregon (us-west-2) (最差线路之一)
![Bench1](docs/bench/bench1.png)
## 高级用法
命令行程序支持从 JSON 文件和参数加载配置。使用 `-config` 指定一个JSON文件。从文件加载的配置也可以被命令行参数覆盖或进一步扩展。