update ab bench doc,

This commit is contained in:
caozhiyi
2021-06-13 08:16:25 +08:00
parent 0c282ad67c
commit 46c2e624b3
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ Compared with `Muduo` on Linuxbecause Linux support `REUSE_PORT` and `EPOLLEX
<p align="left"><img width="896" src="../image/linux_apache_ab_bench.png" alt="linux_apache_ab_bench"></p>
In the picture `cppnet_1` used `REUSE_PORT``cppnet_2` used `EPOLLEXCLUSIVE`.
When use `REUSE_PORT`, the overall efficiency is basically the same as that of `muduo`. When the concurrency is less than 1000, `cppnet` performs better, When more than 1000, `muduo` performed better.
When use `REUSE_PORT`, efficiency is slightly better than `muduo`.
When use `EPOLLEXCLUSIVE`, the overall performance is better than `muduo`(muduo does not support the `EPOLLEXCLUSIVE` setting).
### Windows

View File

@@ -21,7 +21,7 @@ ab -kc[1-10000] -n100000 http://127.0.0.1:8921/hello
<p align="left"><img width="896" src="../image/linux_apache_ab_bench.png" alt="linux_apache_ab_bench"></p>
图中`cppnet_1`为使用`REUSE_PORT``cppnet_2`为使用`EPOLLEXCLUSIVE`
使用`REUSE_PORT`时,整体效率上与`muduo`基本持平在1000并发以下时`cppnet`表现更优1000发以上时`muduo`表现更优
使用`REUSE_PORT`时,整体效率稍稍优于`muduo`
在使用`EPOLLEXCLUSIVE`时,性能整体都优于`muduo`(muduo尚未支持`EPOLLEXCLUSIVE`设置)。
### Windows