I was curious about diesel performance. So I did "hell world" web
server benchmarks with diesel 0.9.1b and tornado 0.2. The tool I use
is the standard ab program and the parameters I use are " ab -n 10000 -
c 1000". My environment is a server with 2 Intel 2.4Ghz CPU and CentOS
5.2.
The results are:
diesel: Requests per second: 3327.91 [#/sec] (mean), Time per
request: 300.488 [ms] (mean)
tornado: Requests per second: 4106.52 [#/sec] (mean), Time per
request: 243.515 [ms] (mean)
So tornado performs better than diesel here. It's different from the
results at http://dieselweb.org/lib/benchmarks . The article at
http://nichol.as/asynchronous-servers-in-python also shows tornado
performs better than tornado.
Can someone explain the difference?
Thanks.
Roy