performance trial of http back-end server framework
-
HTTP benchmarking tool: wrk-Modern HTTP benchmarking tool
-
CHART UI: echart-baidu echart
here contains following frameworks:
node : express koa hapi
python: django
go: iris
...
or you can start your own framework
- start your frameworks(
runserverscript may not suitable for you.) - set the
taskconfig.jsfile .targetis the task array ;wrk_argis the wrk cli arguments. wrk.luais the wrk script .- run
node --harmony-async-await index.jsornpm startand wait; - the result will show up in your defualt browser.
-
if you cant use this binary wrk you can build it on your own
-
the
async/awaitrequire node verison 7.xx & with"runtimeArgs": ["--harmony"]. If your node version dont support this ,you can use babel.
npm install
npm babelstart
#or
node babel_starter.js
I think the python result is not accurate.but iris seems really fast.