From eb9af8bceb16349089892ebc46d705f8de8c5c13 Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Sun, 9 Jul 2017 08:18:45 +0200 Subject: [PATCH 1/2] Drop aiohttp from benchmark table The reason is: aiohttp with disabled access log shows about 16,000 RPS on sanic's own benchmark. It's pretty much faster than 3,000 RPS from the table. I'm not a Sanic dev team member. You should not trust users to update this table but manage periodic updates yourself. If you don't want to do it --- it's up to you. Please just drop very incorrect and outdated numbers from README in this case. --- README.rst | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.rst b/README.rst index 8a7b2706..8da47f5a 100644 --- a/README.rst +++ b/README.rst @@ -34,8 +34,6 @@ not speed up requests. +-----------+-----------------------+----------------+---------------+ | Kyoukai | Python 3.5 + uvloop | 3,889 | 27.44ms | +-----------+-----------------------+----------------+---------------+ -| Aiohttp | Python 3.5 + uvloop | 2,979 | 33.42ms | -+-----------+-----------------------+----------------+---------------+ | Tornado | Python 3.5 | 2,138 | 46.66ms | +-----------+-----------------------+----------------+---------------+ From b2017cae77721d02cdb3b847dc10b16867121df0 Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Thu, 13 Jul 2017 23:41:04 +0200 Subject: [PATCH 2/2] Drop benchmarks from readme --- README.rst | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/README.rst b/README.rst index 8da47f5a..410bd0b8 100644 --- a/README.rst +++ b/README.rst @@ -11,32 +11,6 @@ Sanic is developed `on GitHub `_. Contribu If you have a project that utilizes Sanic make sure to comment on the `issue `_ that we use to track those projects! -Benchmarks ----------- - -All tests were run on an AWS medium instance running ubuntu, using 1 -process. Each script delivered a small JSON response and was tested with -wrk using 100 connections. Pypy was tested for Falcon and Flask but did -not speed up requests. - -+-----------+-----------------------+----------------+---------------+ -| Server | Implementation | Requests/sec | Avg Latency | -+===========+=======================+================+===============+ -| Sanic | Python 3.5 + uvloop | 33,342 | 2.96ms | -+-----------+-----------------------+----------------+---------------+ -| Wheezy | gunicorn + meinheld | 20,244 | 4.94ms | -+-----------+-----------------------+----------------+---------------+ -| Falcon | gunicorn + meinheld | 18,972 | 5.27ms | -+-----------+-----------------------+----------------+---------------+ -| Bottle | gunicorn + meinheld | 13,596 | 7.36ms | -+-----------+-----------------------+----------------+---------------+ -| Flask | gunicorn + meinheld | 4,988 | 20.08ms | -+-----------+-----------------------+----------------+---------------+ -| Kyoukai | Python 3.5 + uvloop | 3,889 | 27.44ms | -+-----------+-----------------------+----------------+---------------+ -| Tornado | Python 3.5 | 2,138 | 46.66ms | -+-----------+-----------------------+----------------+---------------+ - Hello World Example -------------------