-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathresults_windows.txt
More file actions
30 lines (24 loc) · 2.24 KB
/
results_windows.txt
File metadata and controls
30 lines (24 loc) · 2.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
compare.py 2000 1
Started independent subprocesses: bottle webpy flask cherrypy tornado
Waited 2 seconds, measuring memory consumption now:
bottle 0.12.9 Windows PID= 9892 MEM(rss,vms)=(19.26, 15.00) MiB http://127.0.0.1:8000/hello/World
web.py 0.37 Windows PID= 7948 MEM(rss,vms)=(18.39, 14.05) MiB http://127.0.0.1:8001/World
flask 0.10.1 Windows PID=12352 MEM(rss,vms)=(22.80, 17.67) MiB http://127.0.0.1:8002/hello/World
cherrypy 4.0.0 Windows PID= 4844 MEM(rss,vms)=(22.30, 17.79) MiB http://127.0.0.1:8003/?name=World
tornado 4.3 Windows PID=11032 MEM(rss,vms)=(21.28, 16.72) MiB http://127.0.0.1:8004/hello?name=World
main 0.2.0 Windows PID= 5588 MEM(rss,vms)=(34.82, 29.95) MiB
Now hammering each of those servers 2000 times, with a 1.0 seconds timeout: bottle web.py flask cherrypy tornado - Done
Concurrent hammering 5 * 2000 urls took 46.4 secs. Results: (200 = OK; -1 = exception, probably 'requests.exceptions.ReadTimeout')
bottle 0.12.9 http://127.0.0.1:8000/hello/World took 0.0038 seconds/call, with 100.0% success - Counter({200: 2000})
web.py 0.37 http://127.0.0.1:8001/World took 0.0066 seconds/call, with 23.0% success - Counter({-1: 1540, 200: 460})
flask 0.10.1 http://127.0.0.1:8002/hello/World took 0.0047 seconds/call, with 100.0% success - Counter({200: 2000})
cherrypy 4.0.0 http://127.0.0.1:8003/?name=World took 0.0040 seconds/call, with 100.0% success - Counter({200: 2000})
tornado 4.3 http://127.0.0.1:8004/hello?name=World took 0.0040 seconds/call, with 100.0% success - Counter({200: 2000})
Now after all those calls, measure memory again ... Waited 2 seconds, measuring memory consumption now:
bottle 0.12.9 Windows PID= 9892 MEM(rss,vms)=(19.43, 15.11) MiB
web.py 0.37 Windows PID= 7948 MEM(rss,vms)=(21.79, 17.41) MiB
flask 0.10.1 Windows PID=12352 MEM(rss,vms)=(23.60, 18.42) MiB
cherrypy 4.0.0 Windows PID= 4844 MEM(rss,vms)=(23.64, 19.09) MiB
tornado 4.3 Windows PID=11032 MEM(rss,vms)=(22.79, 18.07) MiB
main 0.2.0 Windows PID= 5588 MEM(rss,vms)=(54.28, 49.71) MiB
Killing PIDs: 9892 (bottle 0.12.9) 7948 (web.py 0.37) 12352 (flask 0.10.1) 4844 (cherrypy 4.0.0) 11032 (tornado 4.3)