Updated KCP Benchmark (markdown)

wangcong 2018-01-18 21:07:11 +08:00
parent a81821bd4b
commit 9540052369

@ -13,7 +13,7 @@ enet: 10:51.21
更详细的评测可以看这里:[benchmark](https://github.com/libinzhangyuan/reliable_udp_bench_mark/blob/master/bench_mark.md),感谢 asio_kcp 的作者 zhangyuan 详细对比了 UDT, libenet和 kcp并给出结论如下
* ASIO-KCP has good performace in wifi and phone network(3G, 4G).
* ASIO-KCP has good performance in wifi and phone network(3G, 4G).
* The kcp is the first choice for realtime pvp game.
* The lag is less than 1 second when network lag happen. 3 times better than enet when lag happen.
* The enet is a good choice if your game allow 2 second lag.
@ -21,11 +21,11 @@ enet: 10:51.21
其他可以左右你选择的情况:
* enet has the problem of lack of doc. And it has lots of functions that you may intrest.
* kcp's doc is chinese.
* Good thing is the function detail which is writen in code is english. And you can use asio_kcp which is a good wrap.
* The kcp is a simple thing. You will write more code if you want more feature.
* UDT has a perfect doc. UDT may has more bug than others as I feeling.
* enet has the problem of lack of doc. And it has lots of functions that you may have interest in.
* kcp's doc is in Chinese.
* Good thing is the function detail which is written in code is English. And you can use asio_kcp which is a good wrap.
* The kcp is a simple thing. You will write more code if you want more features.
* UDT has a perfect doc. UDT may have more bug than others as I feeling.
我当年主要测试了 KCP和 TCP/UDT的比较扫了一眼 libenet觉得协议实现中规中矩缺乏很多现代传输协议的技术所以并没有详细测试。而 asio-kcp的作者同时给出了KCP/enet/udt三者的详细比较为犹豫选择的人提供了更多指引。