mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-06-08 05:19:53 +00:00
Add comparison bench1
This commit is contained in:
parent
5dcd6a50e9
commit
5434a5e064
10
README.md
10
README.md
@ -15,7 +15,7 @@ Hysteria is a set of relay & proxy utilities that are specifically optimized for
|
|||||||
|
|
||||||
## Quick Start
|
## 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
|
### 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.
|
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)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## Advanced usage
|
## 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.
|
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.
|
||||||
|
10
README.zh.md
10
README.zh.md
@ -13,7 +13,7 @@ Hysteria 是专门针对恶劣网络环境(常见于在中国访问海外服
|
|||||||
|
|
||||||
## 快速入门
|
## 快速入门
|
||||||
|
|
||||||
关于每个参数具体的含义请见下一个章节
|
关于每个参数具体的含义请见 [高级用法](#高级用法)
|
||||||
|
|
||||||
### 代理
|
### 代理
|
||||||
|
|
||||||
@ -48,6 +48,14 @@ Hysteria 是专门针对恶劣网络环境(常见于在中国访问海外服
|
|||||||
|
|
||||||
有些用户可能会尝试用这个功能转发其他加密代理协议,比如Shadowsocks。虽然这完全可行,但从性能的角度并不是最佳选择 - 我们的协议本身就有 TLS,转发的代理协议也是加密的,再加上用户用来访问 HTTPS 网站,等于做了三重加密。如果需要代理就用我们的代理模式。
|
有些用户可能会尝试用这个功能转发其他加密代理协议,比如Shadowsocks。虽然这完全可行,但从性能的角度并不是最佳选择 - 我们的协议本身就有 TLS,转发的代理协议也是加密的,再加上用户用来访问 HTTPS 网站,等于做了三重加密。如果需要代理就用我们的代理模式。
|
||||||
|
|
||||||
|
## 对比
|
||||||
|
|
||||||
|
代理客户端:广州移动宽带 100M
|
||||||
|
|
||||||
|
代理服务端: AWS 美西 Oregon (us-west-2) (最差线路之一)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## 高级用法
|
## 高级用法
|
||||||
|
|
||||||
命令行程序支持从 JSON 文件和参数加载配置。使用 `-config` 指定一个JSON文件。从文件加载的配置也可以被命令行参数覆盖或进一步扩展。
|
命令行程序支持从 JSON 文件和参数加载配置。使用 `-config` 指定一个JSON文件。从文件加载的配置也可以被命令行参数覆盖或进一步扩展。
|
||||||
|
Loading…
x
Reference in New Issue
Block a user