diff --git a/doc/efficiency/apache_ab_bench.md b/doc/efficiency/apache_ab_bench.md index f4835a2..f4ffd87 100644 --- a/doc/efficiency/apache_ab_bench.md +++ b/doc/efficiency/apache_ab_bench.md @@ -21,7 +21,7 @@ Compared with `Muduo` on Linux,because Linux support `REUSE_PORT` and `EPOLLEX

linux_apache_ab_bench

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 diff --git a/doc/efficiency/apache_ab_bench_cn.md b/doc/efficiency/apache_ab_bench_cn.md index e5f7f8a..edbaed6 100644 --- a/doc/efficiency/apache_ab_bench_cn.md +++ b/doc/efficiency/apache_ab_bench_cn.md @@ -21,7 +21,7 @@ ab -kc[1-10000] -n100000 http://127.0.0.1:8921/hello

linux_apache_ab_bench

图中`cppnet_1`为使用`REUSE_PORT`,`cppnet_2`为使用`EPOLLEXCLUSIVE`。 -使用`REUSE_PORT`时,整体效率上与`muduo`基本持平,在1000并发以下时,`cppnet`表现更优,1000发以上时,`muduo`表现更优。 +使用`REUSE_PORT`时,整体效率稍稍优于`muduo`。 在使用`EPOLLEXCLUSIVE`时,性能整体都优于`muduo`(muduo尚未支持`EPOLLEXCLUSIVE`设置)。 ### Windows