Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
net/http, time: Wapper Timer with sync.Pool will improve proformace of transport 20% more. #9170
go version: go1.3.3 linux/amd64 What does 'go version' print? I am doing prefomace optimization for gorouter. 1. The avg qps of gorouter is about 13000 without ResponseHeaderTimeout disabled. 2. The avg qps of gorouter is about 15500 with ResponseHeaderTimeout disabled. 3. I found that time.After() in net/http:tranport.go consumed an unwieldy amount of memory after finishing pprof. 4. The avg qps of gorouter beccame about 15500 again after I finished wapper Timer wich sync.Pool. sync.Pool is prefect. The patches are attached.
Please send changes using the process described at http://golang.org/doc/contribute.html, not via the issue tracker. But please wait until after the 1.4 release, which should occur in the next week or two. Thanks.
Status changed to WontFix.