From 430cb1368e5ed25acef7f05d6d966bcfcc1df676 Mon Sep 17 00:00:00 2001 From: wanlu <2209120827@qq.com> Date: Fri, 26 Jan 2024 12:35:11 +0800 Subject: [PATCH] update: README.md QPS --- README.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/README.md b/README.md index 9ddf712..60e24de 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,40 @@ support tcp keep-alive stream (protobuf) and http app (http-parser)态websocket 3. [http app](https://github.com/crust-hub/tubekit/blob/main/src/app/http_app.cpp) 4. [websocket app](https://github.com/crust-hub/tubekit/blob/main/src/app/websocket_app.cpp) +## QPS + +Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.3GHz + +`config/main.ini` theads:6 + +```bash +Concurrency QPS HttpRequest + +10 5998.75/sec 10000 +10 5829.98/sec 100000 +10 3672.92/sec 500000 + +50 3970.39/sec 10000 +50 4854.57/sec 100000 +50 5002.02/sec 500000 + +100 7370.73/sec 10000 +100 7417.3/sec 100000 +100 6780.85/sec 500000 + +500 7460.77/sec 10000 +500 7717.21/sec 100000 +500 7447.16/sec 500000 + +1000 7962.60/sec 10000 +1000 7357.94/sec 100000 +1000 7508.63/sec 500000 + +5000 4287.76/sec 10000 +5000 5861.78/sec 100000 +5000 7196.74/sec 500000 +``` + ## Directory Structure [Directory Structure Link](./doc/dir_detail.md)