From 56a320c294d2a5fffbeded5ee9899096bb1c62f8 Mon Sep 17 00:00:00 2001 From: Ciro Spaciari Date: Tue, 8 Nov 2022 10:19:34 -0300 Subject: [PATCH] Update README.md --- README.md | 108 ++++-------------------------------------------------- 1 file changed, 8 insertions(+), 100 deletions(-) diff --git a/README.md b/README.md index 2130387..5babed3 100644 --- a/README.md +++ b/README.md @@ -27,113 +27,21 @@ This project aims to bring high performance PyPy3 web development and will bring We created and adapt the full C API from [uNetworking/uWebSockets](https://github.com/uNetworking/uWebSockets) and integrate libuv powered fetch and file IO, this same C API is used by [Bun](https://bun.sh/) - - ## Benchmark HTTP requests per second (Linux x64) -
-
-
-
124,943
-
socketify PyPy3
-
-
-
70,877
-
socketify Python3
-
-
-
30,173
-
gunicorn Python3
-
-
-
17,580
-
gunicorn PyPy3
-
-
-
-
+| Framework | Requests/s | Runtime | +| ------------- | -------------: | :-------------: | +| socketify.py | 124,943 | PyPy3 | +| socketify.py | 70,877 | Python3 | +| uvicorn | 30,173 | Python3 | +| uvicorn | 17,580 | PyPy3 | + Runtime versions: PyPy3 7.3.9 and Python 3.10.7
Framework versions: gunicorn 20.1.0 + uvicorn 0.19.0, socketify alpha
Tested with ./http_load_test 40 127.0.0.1 8000 from [uSockets](https://github.com/uNetworking/uSockets) Source code in [bench](https://github.com/cirospaciari/socketify.py/tree/main/bench) +> Today we have about 30% to 50% performance drop due to workarounds until we implement full integration with asyncio + libuv, so we will got even faster more info in [this issue](https://github.com/cirospaciari/socketify.py/issues/18) ## Install For macOS x64 & Silicon, Linux x64, Windows