2023-11-03 21:01:45 +08:00
|
|
|
## Mihomo testing suit
|
2021-05-17 20:33:00 +08:00
|
|
|
|
|
|
|
### Protocol testing suit
|
|
|
|
|
|
|
|
* TCP pingpong test
|
|
|
|
* UDP pingpong test
|
|
|
|
* TCP large data test
|
|
|
|
* UDP large data test
|
|
|
|
|
|
|
|
### Protocols
|
|
|
|
|
|
|
|
- [x] Shadowsocks
|
|
|
|
- [x] Normal
|
|
|
|
- [x] ObfsHTTP
|
|
|
|
- [x] ObfsTLS
|
|
|
|
- [x] ObfsV2rayPlugin
|
|
|
|
- [x] Vmess
|
|
|
|
- [x] Normal
|
|
|
|
- [x] AEAD
|
|
|
|
- [x] HTTP
|
|
|
|
- [x] HTTP2
|
|
|
|
- [x] TLS
|
|
|
|
- [x] Websocket
|
|
|
|
- [x] Websocket TLS
|
|
|
|
- [x] gRPC
|
|
|
|
- [x] Trojan
|
|
|
|
- [x] Normal
|
|
|
|
- [x] gRPC
|
|
|
|
- [x] Snell
|
|
|
|
- [x] Normal
|
|
|
|
- [x] ObfsHTTP
|
|
|
|
- [x] ObfsTLS
|
|
|
|
|
|
|
|
### Features
|
|
|
|
|
|
|
|
- [ ] DNS
|
|
|
|
- [x] DNS Server
|
|
|
|
- [x] FakeIP
|
|
|
|
- [x] Host
|
|
|
|
|
|
|
|
### Command
|
|
|
|
|
|
|
|
Prerequisite
|
|
|
|
|
|
|
|
* docker (support Linux and macOS)
|
|
|
|
|
|
|
|
```
|
2021-10-15 21:44:53 +08:00
|
|
|
$ make test
|
2021-05-17 20:33:00 +08:00
|
|
|
```
|
2021-07-22 00:01:11 +08:00
|
|
|
|
|
|
|
benchmark (Linux)
|
|
|
|
|
|
|
|
> Cannot represent the throughput of the protocol on your machine
|
2023-11-03 21:01:45 +08:00
|
|
|
> but you can compare the corresponding throughput of the protocol on mihomo
|
|
|
|
> (change chunkSize to measure the maximum throughput of mihomo on your machine)
|
2021-07-22 00:01:11 +08:00
|
|
|
|
|
|
|
```
|
2021-10-15 21:44:53 +08:00
|
|
|
$ make benchmark
|
2021-07-22 00:01:11 +08:00
|
|
|
```
|