From 8a5c053d391dae7b5f481bb44c1302fb6f39d39d Mon Sep 17 00:00:00 2001 From: aitoehigie Date: Sat, 13 Oct 2018 02:34:58 +0100 Subject: [PATCH 01/10] Add a concise benchmarks section to the README.md file --- README.md | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b565b00..7b13cfa 100644 --- a/README.md +++ b/README.md @@ -105,14 +105,32 @@ api = responder.API(enable_hsts=True) Boom. ✨🍰✨ # Performance +The objective of the benchmark tests is not testing deployment (like uwsgi vs gunicorn and etc) but instead test the performance of python-response against other popular Python web frameworks. + +Methodology +The results below were gotten running the performance tests on a Lenovo W530, Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz, MEM: 32GB, Linux Mint 19. I used Python 3.7.0 with the WRK utility with params: +wrk -d20s -t10 -c200 (i.e. 10 threads and 200 connections). + +1. Simple "Hello World" benchmark + + python-responder v0.0.1 (Master branch) + Requests/sec: 1368.23 + Transfer/sec: 163.01KB + + Django v2.1.2 (i18n == False) + Requests/sec: 544.54 + Transfer/sec: 103.18KB + + Django v2.1.2 (i18n == True) + Requests/sec: 535.12 + Transfer/sec: 101.38KB + + Flask v1.0.2 + Requests/sec: 896.24 + Transfer/sec: 144.41KB + - python-responder v0.0.1 [stats] - Requests/sec: 952.54 - Transfer/sec: 119.07KB - Django v2.1.2 (i18n == False) [stats] - Requests/sec: 520.87 - Transfer/sec: 98.68KB # The Basic Idea From 56fdea6b5d46f342d2b4018604c4a0fd8944ceec Mon Sep 17 00:00:00 2001 From: aitoehigie Date: Sat, 13 Oct 2018 03:05:12 +0100 Subject: [PATCH 02/10] update the benchmarks section --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 7b13cfa..0d28fe0 100644 --- a/README.md +++ b/README.md @@ -125,6 +125,11 @@ wrk -d20s -t10 -c200 (i.e. 10 threads and 200 connections). Requests/sec: 535.12 Transfer/sec: 101.38KB + Django v2.1.2 (Minimal 1 file Django Application) + [website (https://gist.github.com/aitoehigie/ebcc1d3e460e66cd51e5501fa2636798)]Link to Gist (source) [website] + Requests/sec: 701.53 + Transfer/sec: 99.34KB + Flask v1.0.2 Requests/sec: 896.24 Transfer/sec: 144.41KB From f4c3690bd8198a262f5e698e86dd93191099a1b2 Mon Sep 17 00:00:00 2001 From: aitoehigie Date: Sat, 13 Oct 2018 03:15:49 +0100 Subject: [PATCH 03/10] format the readme file --- README.md | 60 +++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 43 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 0d28fe0..2b0965d 100644 --- a/README.md +++ b/README.md @@ -107,32 +107,58 @@ Boom. ✨🍰✨ # Performance The objective of the benchmark tests is not testing deployment (like uwsgi vs gunicorn and etc) but instead test the performance of python-response against other popular Python web frameworks. -Methodology +### Methodology The results below were gotten running the performance tests on a Lenovo W530, Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz, MEM: 32GB, Linux Mint 19. I used Python 3.7.0 with the WRK utility with params: wrk -d20s -t10 -c200 (i.e. 10 threads and 200 connections). 1. Simple "Hello World" benchmark - python-responder v0.0.1 (Master branch) - Requests/sec: 1368.23 - Transfer/sec: 163.01KB + python-responder v0.0.1 (Master branch) - Django v2.1.2 (i18n == False) - Requests/sec: 544.54 - Transfer/sec: 103.18KB + Requests/sec: 1368.23 - Django v2.1.2 (i18n == True) - Requests/sec: 535.12 - Transfer/sec: 101.38KB + Transfer/sec: 163.01KB + + - Django v2.1.2 (Minimal 1 file Django Application) - [website (https://gist.github.com/aitoehigie/ebcc1d3e460e66cd51e5501fa2636798)]Link to Gist (source) [website] - Requests/sec: 701.53 - Transfer/sec: 99.34KB - Flask v1.0.2 - Requests/sec: 896.24 - Transfer/sec: 144.41KB + Django v2.1.2 (i18n == False) + + Requests/sec: 544.54 + + Transfer/sec: 103.18KB + + + + + Django v2.1.2 (i18n == True) + + Requests/sec: 535.12 + + Transfer/sec: 101.38KB + + + + Django v2.1.2 (Minimal 1 file Django Application) + + [website (https://gist.github.com/aitoehigie/ebcc1d3e460e66cd51e5501fa2636798)] Link to Gist (source) [website] + + Requests/sec: 701.53 + + Transfer/sec: 99.34KB + + + + + Flask v1.0.2 + + Requests/sec: 896.24 + + Transfer/sec: 144.41KB + + + + From 411631d2f80575bb77ba68af5f002d5f5474a9d8 Mon Sep 17 00:00:00 2001 From: aitoehigie Date: Sat, 13 Oct 2018 03:17:42 +0100 Subject: [PATCH 04/10] format the readme file --- README.md | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/README.md b/README.md index 2b0965d..7c2edae 100644 --- a/README.md +++ b/README.md @@ -114,53 +114,36 @@ wrk -d20s -t10 -c200 (i.e. 10 threads and 200 connections). 1. Simple "Hello World" benchmark python-responder v0.0.1 (Master branch) - Requests/sec: 1368.23 - Transfer/sec: 163.01KB Django v2.1.2 (i18n == False) - Requests/sec: 544.54 - Transfer/sec: 103.18KB Django v2.1.2 (i18n == True) - Requests/sec: 535.12 - Transfer/sec: 101.38KB Django v2.1.2 (Minimal 1 file Django Application) - [website (https://gist.github.com/aitoehigie/ebcc1d3e460e66cd51e5501fa2636798)] Link to Gist (source) [website] - Requests/sec: 701.53 - Transfer/sec: 99.34KB Flask v1.0.2 - Requests/sec: 896.24 - - Transfer/sec: 144.41KB - - - - - - + Transfer/sec: 144.41KB # The Basic Idea From c14b4535a6031fe7987399e27ff17a09ed06848c Mon Sep 17 00:00:00 2001 From: aitoehigie Date: Sat, 13 Oct 2018 03:19:21 +0100 Subject: [PATCH 05/10] format the readme file --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7c2edae..6373512 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,7 @@ wrk -d20s -t10 -c200 (i.e. 10 threads and 200 connections). Django v2.1.2 (Minimal 1 file Django Application) - [website (https://gist.github.com/aitoehigie/ebcc1d3e460e66cd51e5501fa2636798)] Link to Gist (source) [website] + https://gist.github.com/aitoehigie/ebcc1d3e460e66cd51e5501fa2636798 Link to Gist Requests/sec: 701.53 Transfer/sec: 99.34KB From 45e1ed7022b50b49be07a988200f9a5341b32e45 Mon Sep 17 00:00:00 2001 From: aitoehigie Date: Sat, 13 Oct 2018 03:20:36 +0100 Subject: [PATCH 06/10] format the readme file --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6373512..02313b6 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ The objective of the benchmark tests is not testing deployment (like uwsgi vs gu The results below were gotten running the performance tests on a Lenovo W530, Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz, MEM: 32GB, Linux Mint 19. I used Python 3.7.0 with the WRK utility with params: wrk -d20s -t10 -c200 (i.e. 10 threads and 200 connections). -1. Simple "Hello World" benchmark +1. ** Simple "Hello World" benchmark ** python-responder v0.0.1 (Master branch) Requests/sec: 1368.23 From 6ef5077164e616cea6e9f7103d1bbcfdd10a9e8e Mon Sep 17 00:00:00 2001 From: aitoehigie Date: Sat, 13 Oct 2018 03:21:53 +0100 Subject: [PATCH 07/10] format the readme file --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 02313b6..a23efc2 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,7 @@ wrk -d20s -t10 -c200 (i.e. 10 threads and 200 connections). Django v2.1.2 (Minimal 1 file Django Application) - https://gist.github.com/aitoehigie/ebcc1d3e460e66cd51e5501fa2636798 Link to Gist + https://gist.github.com/aitoehigie/ebcc1d3e460e66cd51e5501fa2636798 ** Gist ** Requests/sec: 701.53 Transfer/sec: 99.34KB From 6db5bbeaee59569156d10f418cec2e513e1cda76 Mon Sep 17 00:00:00 2001 From: aitoehigie Date: Sat, 13 Oct 2018 03:22:55 +0100 Subject: [PATCH 08/10] format the readme file --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a23efc2..e8049b8 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,7 @@ wrk -d20s -t10 -c200 (i.e. 10 threads and 200 connections). Django v2.1.2 (Minimal 1 file Django Application) - https://gist.github.com/aitoehigie/ebcc1d3e460e66cd51e5501fa2636798 ** Gist ** + https://gist.github.com/aitoehigie/ebcc1d3e460e66cd51e5501fa2636798 Requests/sec: 701.53 Transfer/sec: 99.34KB From 6f73cfc5f2cb90315da21f92caa0f1bbd0218cf2 Mon Sep 17 00:00:00 2001 From: aitoehigie Date: Sat, 13 Oct 2018 03:23:47 +0100 Subject: [PATCH 09/10] format the readme file --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e8049b8..e590ec9 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ The objective of the benchmark tests is not testing deployment (like uwsgi vs gu The results below were gotten running the performance tests on a Lenovo W530, Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz, MEM: 32GB, Linux Mint 19. I used Python 3.7.0 with the WRK utility with params: wrk -d20s -t10 -c200 (i.e. 10 threads and 200 connections). -1. ** Simple "Hello World" benchmark ** +1. #### Simple "Hello World" benchmark python-responder v0.0.1 (Master branch) Requests/sec: 1368.23 From 06e06973a4b6c2eaaa8ffd7542850b4d4d5e05a3 Mon Sep 17 00:00:00 2001 From: aitoehigie Date: Sat, 13 Oct 2018 03:24:57 +0100 Subject: [PATCH 10/10] format the readme file --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e590ec9..4041f78 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ api = responder.API(enable_hsts=True) Boom. ✨🍰✨ # Performance -The objective of the benchmark tests is not testing deployment (like uwsgi vs gunicorn and etc) but instead test the performance of python-response against other popular Python web frameworks. +The objective of these benchmark tests is not testing deployment (like uwsgi vs gunicorn vs uvicorn etc) but instead test the performance of python-response against other popular Python web frameworks. ### Methodology The results below were gotten running the performance tests on a Lenovo W530, Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz, MEM: 32GB, Linux Mint 19. I used Python 3.7.0 with the WRK utility with params: