-
Notifications
You must be signed in to change notification settings - Fork 18k
runtime: Go 1.14.rc1 3-5% performance regression from 1.13 during protobuf marshalling [1.14 backport] #37613
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
Comments
Turns out we need to backport this patch anyway to fix #37721 . |
Change https://golang.org/cl/222779 mentions this issue: |
Approved as this is a regression in 1.14 only and has no workaround, and is needed to backport a fix for a serious issue #37721. |
Closed by merging 6717d27 to release-branch.go1.14. |
…ointers Interfaces often contain pointers. Implement a fast path for this case. name old time/op new time/op delta MapInterfaceString-16 21.4ns ±19% 20.5ns ±10% ~ (p=0.361 n=10+10) MapInterfacePtr-16 25.8ns ± 8% 17.3ns ± 7% -33.11% (p=0.000 n=10+9) We need this CL as well to fix 37721. Update #37721 Fixes #37613 Change-Id: Ice52820e6259a3edeafcbbbeb25b1e363bef00d0 Reviewed-on: https://go-review.googlesource.com/c/go/+/219338 Run-TryBot: Keith Randall <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Cherry Zhang <[email protected]> (cherry picked from commit afd691c) Reviewed-on: https://go-review.googlesource.com/c/go/+/222779 Run-TryBot: Alexander Rakoczy <[email protected]>
@randall77 requested issue #37086 to be considered for backport to the next 1.14 minor release.
The text was updated successfully, but these errors were encountered: