- 2008 MacBook Pro (non-unibody)
- 2.4 Ghz Core 2 Duo
- 2 Gb of RAM
Fresh reboot Running only:
- TextMate
- Terminal.app w/ 2 tabs
- Activity Monitor (to watch CPU use & memory)
Each test was run 3-4 times, with the middle numbers of the test reported. Not a proper average.
- The
gevent_test
is usinggevent.pywsgi
instead ofgevent.wsgi
. Slower but supports streaming to be equivalent to Node's streaming by default. - Node is writing to the file in an async manner, while gevent have the file write in a coroutine (might be blocking).
Unloaded RAM: 5.91 Mb
ab options | Failed reqs | Reqs per sec | Secs per req | Secs per req (concurrent) | Max Mb |
---|---|---|---|---|---|
-c 10 -n 1000 | 0 | 4298.28 | 2.327 | 0.233 | 10.18 |
-c 25 -n 1000 | 0 | 4432.60 | 5.640 | 0.226 | 11.38 |
-c 50 -n 1000 | 0 | 4582.74 | 10.910 | 0.218 | 12.23 |
-c 100 -n 1000 | 0 | 4084.32 | 24.484 | 0.245 | 12.86 |
-c 200 -n 1000 | 0 | 3819.53 | 52.362 | 0.262 | 13.70 |
-c 300 -n 1000 | 0 | 3282.97 | 91.381 | 0.305 | 14.20 |
-c 400 -n 1000 | 0 | 3367.26 | 118.791 | 0.297 | 14.50 |
-c 500 -n 1000 | 0 | 3402.62 | 146.946 | 0.294 | 14.89 |
Unloaded RAM: 8.52 Mb
ab options | Failed reqs | Reqs per sec | Secs per req | Secs per req (concurrent) | Max Mb |
---|---|---|---|---|---|
-c 10 -n 1000 | 0 | 1501.93 | 6.658 | 0.666 | 8.60 |
-c 25 -n 1000 | 0 | 1300.63 | 19.221 | 0.769 | 8.60? |
-c 50 -n 1000 | 0 | 1418.63 | 35.245 | 0.705 | 8.60? |
-c 100 -n 1000 | 0 | 1329.82 | 75.198 | 0.752 | 8.60? |
-c 200 -n 1000 | 0 | 1223.89 | 163.414 | 0.817 | 8.60? |
-c 300 -n 1000 | 0 | 1145.65 | 275.339 | 0.918 | 8.60? |
-c 400 -n 1000 | 0[1] | 1111.43 | 359.897 | 0.900 | 8.60? |
-c 500 -n 1000 | N/A[2] | N/A | N/A | N/A | N/A |