Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/synodriver/asgi-zerocopysend-benchmark
https://github.com/synodriver/asgi-zerocopysend-benchmark
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/synodriver/asgi-zerocopysend-benchmark
- Owner: synodriver
- Created: 2022-06-21T03:37:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-21T03:48:45.000Z (over 2 years ago)
- Last Synced: 2024-10-11T11:26:45.204Z (about 1 month ago)
- Language: Python
- Size: 56.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
# ASGI-ZeroCopySend Benchmark
### Tested with wrk, running with [uvicorn](https://github.com/encode/uvicorn) and [nonecorn](https://github.com/nonebot/nonecorn),
- uvicorn is mean to be fast, but lack of extension support
- nonecorn has all extensions support listed in [asgiref](https://asgi.readthedocs.io/en/latest/extensions.html)## Result
- with the same asgi app, zerocopysend extension showed around a 10x speed up against normal one
- the one with uvicorn
![with uvicorn](https://raw.githubusercontent.com/synodriver/ASGI-Zerocopysend-Benchmark/main/result/20220621113603.png)
- the one with nonecorn
![with nonecorn](https://raw.githubusercontent.com/synodriver/ASGI-Zerocopysend-Benchmark/main/result/20220621113629.png)