News for hackers. Stuff that matters.
Re:Benchmarking Go and Python Web servers by dchest on Wednesday February 23, 2011 @02:21PM (#2255352)
I don't see the use of regexp in gvent.py.
Re:Benchmarking Go and Python Web servers by traviscline on Wednesday February 23, 2011 @02:29PM (#2255398)
Good call, added it, initial run didn't show a huge difference.

edit: here are numbers from a few runs: gvent,http.go 361.43,386.68 354.69,397.15 388.96,377.69 424.81,430.34

http.go averaged 26% utilization gvent.py averaged 15% utilization

I'm embarrassed posting this because of how grossly unscientific this is..

Not quite as fast as I thought initially but likely faster than the other python competitors.

Re:Benchmarking Go and Python Web servers by dchest on Wednesday February 23, 2011 @02:42PM (#2255468)
Good. Next, there's a check for "GET" method and if request contains parameters at all (which returns 404 if not) in the Go version. Though, I don't think it will make a big difference.