Skip to content

Instantly share code, notes, and snippets.

@squeaky-pl
Last active February 27, 2017 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save squeaky-pl/31f6c4236416f4944cd2dd07a9bb4a2a to your computer and use it in GitHub Desktop.
Save squeaky-pl/31f6c4236416f4944cd2dd07a9bb4a2a to your computer and use it in GitHub Desktop.
CURIO + H11 HTTP
python3 -m perfkit python zenhttp_curio_h11.py wrk --script zenhttp.lua --repeat 5
.....
3001.37, 3327.0, 3256.87, 3236.13, 3226.81
root@scw-421e6f:~/zenchmarks# python3 -m perfkit python --binary ~/pypy-c-jit-90326-88ef793308eb-linux64/bin/pypy3 zenhttp_curio_h11.py wrk --script zenhttp.lua --repeat 20
....................
3032.0, 10580.4, 12895.31, 12346.35, 12926.48, 11933.18, 12356.87, 12586.28, 12453.64, 12197.66,
12460.54, 12527.95, 12360.43, 12417.06, 12398.75, 12424.73, 12227.52, 12433.75, 12435.42, 12428.29
ASYNCIO HTTP (AIOHTTP)
root@scw-421e6f:~/zenchmarks# python3 -m perfkit python zenhttp_aiohttp.py wrk --script zenhttp.lua --repeat 5
.....
2169.07, 2132.32, 2337.69, 2346.3, 2336.53
root@scw-421e6f:~/zenchmarks# python3 -m perfkit python --binary ~/pypy-c-jit-90326-88ef793308eb-linux64/bin/pypy3 zenhttp_aiohttp.py wrk --script zenhttp.lua --repeat 20
....................
1199.57, 1953.07, 8304.07, 13611.1, 14038.69, 13686.7, 13509.42, 14043.09, 13740.0, 14051.88,
14076.64, 13614.44, 13783.25, 13927.3, 13582.96, 13364.06, 13948.47, 13589.57, 13526.33, 13870.91
GEVENT HTTP (PYWSGI)
root@scw-421e6f:~/zenchmarks# python3 -m perfkit python zenhttp_gevent.py wrk --script zenhttp.lua --repeat 5
.....
5368.02, 5508.1, 6014.4, 5957.5, 5997.13
root@scw-421e6f:~/zenchmarks# python3 -m perfkit python --binary ~/pypy-c-jit-90326-88ef793308eb-linux64/bin/pypy3 zenhttp_gevent.py wrk --script zenhttp.lua --repeat 20
....................
5951.32, 16611.54, 16466.73, 16685.2, 16673.83, 17377.2, 16460.01, 17226.08, 16440.19, 17000.3,
16498.55, 16722.23, 16706.2, 16848.88, 16742.73, 16702.51, 16527.74, 17293.58, 17327.63, 16532.98
TORNADO HTTP
root@scw-421e6f:~/zenchmarks# python3 -m perfkit python zenhttp_tornado.py wrk --script zenhttp.lua --repeat 5
.....
2078.25, 2033.34, 2035.0, 2025.39, 2016.27
root@scw-421e6f:~/zenchmarks# python3 -m perfkit python --binary ~/pypy-c-jit-90326-88ef793308eb-linux64/bin/pypy3 zenhttp_tornado.py wrk --script zenhttp.lua --repeat 20
....................
868.23, 982.81, 2223.16, 8673.36, 8674.5, 9163.56, 9657.12, 9090.69, 9597.57, 8933.24, 9616.97,
8995.24, 9617.91, 9033.17, 9632.4, 9050.0, 9732.4, 9064.04, 9578.41, 9041.68
CURIO TCP
root@scw-421e6f:~/zenchmarks# python3 -m perfkit python zen_curio.py zen --repeat 5
.....
81497.0, 90565.0, 90546.0, 91242.0, 90444.0
root@scw-421e6f:~/zenchmarks# python3 -m perfkit python --binary ~/pypy-c-jit-90326-88ef793308eb-linux64/bin/pypy3 zen_curio.py zen --repeat 20....................
150718.0, 180060.0, 205590.0, 212829.0, 210696.0, 206436.0, 198501.0, 208769.0, 205341.0,
206251.0, 197186.0, 207280.0, 210761.0, 205848.0, 210438.0, 210720.0, 210916.0, 205266.0, 207396.0, 212681.0
ASYNCIO TCP
root@scw-421e6f:~/zenchmarks# python3 -m perfkit python zen_asyncio.py zen --repeat 5
.....
74594.0, 81542.0, 81457.0, 81456.0, 81318.0
root@scw-421e6f:~/zenchmarks# python3 -m perfkit python --binary ~/pypy-c-jit-90326-88ef793308eb-linux64/bin/pypy3 zen_asyncio.py zen --repeat 20
....................
128064.0, 148678.0, 148915.0, 149234.0, 149399.0, 150259.0, 152264.0, 151993.0, 149691.0, 147881.0,
148691.0, 150289.0, 148615.0, 148701.0, 146978.0, 150432.0, 146745.0, 148025.0, 145272.0, 145930.0
GEVENT TCP
root@scw-421e6f:~/zenchmarks# python3 -m perfkit python zen_gevent.py zen --repeat 5
.....
87985.0, 97680.0, 98362.0, 98129.0, 98405.0
root@scw-421e6f:~/zenchmarks# python3 -m perfkit python --binary ~/pypy-c-jit-90326-88ef793308eb-linux64/bin/pypy3 zen_gevent.py zen --repeat 20
....................
137528.0, 177891.0, 173880.0, 169604.0, 164541.0, 169991.0, 167038.0, 156945.0, 172438.0, 188891.0,
168425.0, 169128.0, 166400.0, 174872.0, 174224.0, 180579.0, 163646.0, 163291.0, 167944.0, 164899.0
TORNADO TCP
root@scw-421e6f:~/zenchmarks# python3 -m perfkit python zen_tornado.py zen --repeat 5
.....
47382.0, 52593.0, 52783.0, 53045.0, 52782.0
root@scw-421e6f:~/zenchmarks# python3 -m perfkit python --binary ~/pypy-c-jit-90326-88ef793308eb-linux64/bin/pypy3 zen_tornado.py zen --repeat 20
....................
90558.0, 133658.0, 135716.0, 133773.0, 135377.0, 135795.0, 135979.0, 133053.0, 132018.0, 132258.0,
131894.0, 135201.0, 131415.0, 132933.0, 135300.0, 131645.0, 132769.0, 133835.0, 131944.0, 131326.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment