New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net/rpc: Go1.1Beta2 is slower than Go 1.0.3 on windows #5284
Labels
Comments
windows net package had major changes (https://golang.org/cl/6604072 and others) to fix bugs we had with "close net connection" and "deadline handling" logic. The changes have some overhead - the use channels with select and, perhaps, others. We should be able to eliminate these, if we use runtime netpoll facility (just like linux and darwin do). There is quite a bit of room for memory management improvement in windows net implementation. But it is not going to happen until after go1.1. Alex Status changed to Accepted. |
Some benchmarks for https://golang.org/cl/8670044/. Alex Attachments:
|
Updated benchmarks for https://golang.org/cl/8670044/. Alex Attachments:
|
I run some benchmarks. I compared current Go version (hg id is 7cf95b2c57c3) to go1.0.3 (hg id is 2d8bc3c94ecb). Here are the results on windows-386 (Windows XP / 2 CPUs): benchmark old ns/op new ns/op delta BenchmarkEndToEnd 100001 78907 -21.09% BenchmarkEndToEndHTTP 100001 78907 -21.09% BenchmarkEndToEndAsync 107813 87501 -18.84% BenchmarkEndToEndAsyncHTTP 107032 85157 -20.44% windows-amd64 (Windows 7 Pro / 1 CPU) benchmark old ns/op new ns/op delta BenchmarkEndToEnd 97367 59533 -38.86% BenchmarkEndToEndHTTP 97220 59045 -39.27% BenchmarkEndToEndAsync 91507 36681 -59.91% BenchmarkEndToEndAsyncHTTP 92288 35919 -61.08% That is as good as we can make for the time been. Feel free to comment, if you still have issues. Alex Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Attachments:
The text was updated successfully, but these errors were encountered: