Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: reusing http.Request is slower than allocating a new one #28310
Please answer these questions before submitting your issue
What did you do?
If possible, provide a recipe for reproducing the error.
What did you expect to see?
the same or better performance in BenchmarkReuseRequest
What did you see instead?
lower performance and higher allocations