https://github.com/idlesign/narrow
Work in progress. Stay tuned.
Description
Naive throughput measurements for Python web apps and servers
This tries to measure a throughput for various Python web apps and servers
Benchmark report sample: https://idlesign.github.io/narrow/
Stands:
nginx_ssl_static: Nginx static response using SSL
nginx_ssl_tcp_uwsgi: Nginx -> UWSGI -> TCP socket -> uwsgi -> app response. Using SSL
nginx_ssl_unix_uwsgi: Nginx -> UWSGI -> Unix socket -> uwsgi -> app response. Using SSL
nginx_static: Nginx static response
nginx_tcp_uwsgi: Nginx -> UWSGI -> TCP socket -> uwsgi -> app response
nginx_unix_uwsgi: Nginx -> UWSGI -> Unix socket -> uwsgi -> app response
uwsgi: uwsgi HTTP router -> app response
uwsgi_ssl: uwsgi HTTP router -> app response. Using SSL
Apps/frameworks:
bottle: Bottle framework application
cherrypy: CherryPy framework application
django: Django framework application
flask: Flask framework application
py: Pure wsgi application – default
Benchers:
h2load: h2load from nghttp2
weighttp: weighttp (no SSL support)
Requirements
Basics:
Benchmarking tools (any):
Running
Run benchmarks, dump and plot the results:
$ narrow --help
$ narrow list_stands
$ narrow list_apps
$ narrow list_benchers
$ narrow runlocal --plot
$ narrow --verbose runlocal --log --stand uwsgi --app flask --bencher weighttp
$ narrow stats_plot
Metadata
Release files for narrow 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| narrow-0.1.0.tar.gz | 18.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| narrow-0.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 43.5 kB
Release files / narrow-0.1.0.tar.gz
| Download URL | narrow-0.1.0.tar.gz |
|---|---|
| Size | 18.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c34e16bc8233e1c77682edac89918efd3c53ea0714b711642dcd48dd6cec3dfe
|
|
BLAKE2b-256 checksum How to use checksums |
191d9cc4b6532c1b610617052fcae79ca7e7074575bc8b76c5bb1476c2796654
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / narrow-0.1.0-py2.py3-none-any.whl
| Download URL | narrow-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 25.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
2a0345bcf83917a15ea1120c61942981f5434d7e76c6d0fa6fa0aabdaee33e3b
|
|
BLAKE2b-256 checksum How to use checksums |
34508e2846fd24521eb63fcf9c7c50d73a6088872dd6f6d99f8919ee0d2ad6d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |