3 ms·
I don't see the use of regexp in gvent.py.
by dchest 16y ago
I don't see the use of regexp in gvent.py.
- traviscline 16y agoGood 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.
- dchest 16y agoGood. 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.