]> Cypherpunks repositories - gostls13.git/commit
net/http: add request file upload benchmarks
authorChris Marchesi <chrism@vancluevertech.com>
Wed, 6 Mar 2019 03:44:48 +0000 (03:44 +0000)
committerEmmanuel Odeke <emm.odeke@gmail.com>
Wed, 6 Mar 2019 04:29:41 +0000 (04:29 +0000)
commit312bfc5d55994aaef5910716e096a675aa3bce39
treeb069acfc1c73848655a67cbc6bc5e58f77ab8486
parentc7408a87757f94ed72e3e2b7886880dcca946b28
net/http: add request file upload benchmarks

This adds benchmarks to test file uploads using PUT requests.

It's designed to complement changes https://golang.org/cl/163599 and
https://golang.org/cl/163737, allowing an easy comparison of
performance before and after these changes are applied.

Updates #30377.

Co-authored-by: Emmanuel Odeke <emm.odeke@gmail.com>
Change-Id: Ib8e692c61e1f7957d88c7101669d4f7fb8110c65
GitHub-Last-Rev: 242622b4fca9f289defa2f268efc31208743e5dd
GitHub-Pull-Request: golang/go#30424
Reviewed-on: https://go-review.googlesource.com/c/go/+/163862
Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com>
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
src/net/http/request_test.go