• Brad Fitzpatrick's avatar
    http2: make Server reuse 64k request body buffer between requests · 3bafa332
    Brad Fitzpatrick authored
    name           old time/op    new time/op    delta
    ServerPosts-4     192µs ± 1%     164µs ± 1%  -14.16%  (p=0.000 n=17+19)
    
    name           old alloc/op   new alloc/op   delta
    ServerPosts-4    69.8kB ± 0%     2.8kB ± 0%  -95.95%  (p=0.000 n=18+18)
    
    name           old allocs/op  new allocs/op  delta
    ServerPosts-4      42.0 ± 0%      40.0 ± 0%   -4.76%  (p=0.000 n=20+20)
    
    This is a redo of git rev e7da8eda (golang.org/cl/20542) which had a race
    and was later reverted in golang.org/cl/21160.
    
    Updates golang/go#14960
    Updates grpc/grpc-go#604
    
    Change-Id: Ie216e45730dce4fc0c58f295bcbc669973145599
    Reviewed-on: https://go-review.googlesource.com/31447
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    3bafa332
Name
Last commit
Last update
..
h2demo Loading commit data...
h2i Loading commit data...
hpack Loading commit data...
testdata Loading commit data...
.gitignore Loading commit data...
Dockerfile Loading commit data...
Makefile Loading commit data...
README Loading commit data...
client_conn_pool.go Loading commit data...
configure_transport.go Loading commit data...
errors.go Loading commit data...
errors_test.go Loading commit data...
fixed_buffer.go Loading commit data...
fixed_buffer_test.go Loading commit data...
flow.go Loading commit data...
flow_test.go Loading commit data...
frame.go Loading commit data...
frame_test.go Loading commit data...
go16.go Loading commit data...
go17.go Loading commit data...
go17_not18.go Loading commit data...
go18.go Loading commit data...
gotrack.go Loading commit data...
gotrack_test.go Loading commit data...
headermap.go Loading commit data...
http2.go Loading commit data...
http2_test.go Loading commit data...
not_go16.go Loading commit data...
not_go17.go Loading commit data...
pipe.go Loading commit data...
pipe_test.go Loading commit data...
priority_test.go Loading commit data...
server.go Loading commit data...
server_test.go Loading commit data...
transport.go Loading commit data...
transport_test.go Loading commit data...
write.go Loading commit data...
writesched.go Loading commit data...
z_spec_test.go Loading commit data...