![](https://secure.gravatar.com/avatar/db5f70d2f2520ef725839f046bdc32fb.jpg?s=120&d=mm&r=g)
On Tue, 30 Oct 2012 13:24:23 -0700 Guido van Rossum <guido@python.org> wrote:
On Tue, Oct 30, 2012 at 12:46 PM, Richard Oudkerk <shibturn@gmail.com> wrote:
The difference in speed between AF_INET sockets and pipes on Windows is much bigger than the difference between AF_INET sockets and pipes on Unix.
(Who knows, maybe it is just my firewall which is causing the slowdown...)
Here's another unscientific benchmark: I wrote a stupid "http" server (stupider than echosvr.py actually) that accepts HTTP requests and responds with the shortest possible "200 Ok" response. This should provide an adequate benchmark of how fast the event loop, scheduler, and transport are at accepting and closing connections (and reading and writing small amounts). On my linux box at work, over localhost, it seems I can handle 10K requests (sent using 'ab' over localhost) in 1.6 seconds. Is that good or bad? The box has insane amounts of memory and 12 cores (?) and rates at around 115K pystones.
It sounds both good and useless to me :) Regards Antoine.