1
0
mirror of https://github.com/skywind3000/kcp.git synced 2025-04-24 04:10:34 +08:00

update document

This commit is contained in:
skywind3000 2016-02-18 22:26:05 +08:00
parent 9d641e9633
commit 8d52129c60

View File

@ -131,6 +131,8 @@ TCP是为流量设计的每秒内可以传输多少KB的数据讲究的
# 性能比较
如果不丢包那么 KCP和 TCP性能差不多KCP不会有任何优势但是网络会卡造成卡的原因就是丢包和抖动有同学在内网这样好的环境下没有用任何丢包模拟直接跑跑出来的数据是差不多的但是放到公网上放到3G/4G网络情况下差距就很明显了公网在高峰期有平均接近10%的丢包wifi/3g/4g下更糟糕这正是造成各种网络卡顿的元凶。
感谢 [asio-kcp](https://github.com/libinzhangyuan/asio_kcp) 的作者 [zhangyuan](https://github.com/libinzhangyuan) 对 KCP 与 enet, udt做过的一次横向评测结论如下
- ASIO-KCP has good performace in wifi and phone network(3G, 4G).