1
0
mirror of https://github.com/golang/go synced 2024-11-25 23:37:58 -07:00
go/src
Dave Cheney cccc96b8e9 net/http: add BenchmarkReadRequest
Add benchmark for request parsing. Fixture data is taken from https://github.com/felixge/node-http-perf

% go version
go version devel +28966b7b2f0c Thu Feb 07 20:26:12 2013 -0800 linux/amd64

% go test -run=nil -bench=ReadRequest -benchtime=10s
PASS
BenchmarkReadRequest     2000000   9900 ns/op   61.71 MB/s   3148 B/op   32 allocs/op
ok      net/http        12.180s

R=golang-dev, bradfitz, minux.ma, haimuiba
CC=golang-dev
https://golang.org/cl/7313048
2013-02-09 07:04:07 +11:00
..
cmd cmd/5g: add missing splitclean. 2013-02-08 08:19:47 +01:00
lib9 lib9: fix build for windows 2013-02-06 00:33:25 +08:00
libbio
libmach cmd/dist: add -Wstrict-prototypes to CFLAGS and fix all the compiler errors 2013-02-05 21:43:04 +08:00
pkg net/http: add BenchmarkReadRequest 2013-02-09 07:04:07 +11:00
all.bash
all.bat
all.rc
clean.bash
clean.bat
clean.rc
make.bash cmd/6c, cmd/6g: add flag to support large-model code generation 2013-02-01 08:35:33 -08:00
make.bat lib9, cmd/dist, cmd/5l: embed GOARM into cmd/5l and auto detect GOARM 2012-10-22 14:26:36 +08:00
Make.dist
make.rc
race.bash src: add race.bash 2013-01-28 21:05:25 +11:00
race.bat src: add race.bat 2013-02-03 00:49:37 +08:00
run.bash run.bash: fix linux/arm build 2012-11-15 13:59:46 +11:00
run.bat run.{bash,bat,rc}: unset GOMAXPROCS before ../test 2012-11-15 11:40:10 +11:00
run.rc run.{bash,bat,rc}: unset GOMAXPROCS before ../test 2012-11-15 11:40:10 +11:00
sudo.bash sudo.bash: diagnose when the go tool is not in $PATH 2012-11-15 10:42:39 -08:00