caddy/caddyhttp
Tw beae16f07c Proxy performance (#946)
* proxy: add benchmark

Signed-off-by: Tw <tw19881113@gmail.com>

* replacer: prepare lazily

update issue#939

benchmark            old ns/op     new ns/op     delta
BenchmarkProxy-4     83865         72544         -13.50%

Signed-off-by: Tw <tw19881113@gmail.com>

* proxy: use buffer pool to avoid temporary allocation

Signed-off-by: Tw <tw19881113@gmail.com>
2016-07-20 19:06:14 -06:00
..
basicauth
bind
browse
errors
expvar
extensions
fastcgi
gzip
header
httpserver Proxy performance (#946) 2016-07-20 19:06:14 -06:00
internalsrv
log
markdown
mime
pprof
proxy
redirect
rewrite
root
staticfiles
templates
websocket
caddyhttp.go
caddyhttp_test.go