crypto/tls: degraded performance from 1.8 to 1.9 version #23962
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?What did you do?
I use a very simple program created in December 2016 which use aws-go-sdk to get a metric on ELB.
It has been compile with go 1.8 and there is no problem until now.
I had to re-compiled it recently (with go 1.9) to add changes and I noticed a degradation of the performance.
Since I also tested go 1.10 and there I noticed the same behavior as for 1.9 version.
The code is exactly the same but 1.9/1.10 binary version execution time is more than 2x greater than with the 1.7/1.8 binary version.
i.e. result of a test run for each version :
for 1.8.7 version :
for 1.10 version :
I suspect it is linked to the ssl request made to cloudwatch and so the issue #23727
Here is a pprof cpu pdf for 1.8 version :
out-go18.pdf
And the same for 1.10 version :
out-go110.pdf
What did you expect to see?
Almost the same performance / time execution.
What did you see instead?
An increase of the time execution and the resource consumption
Thanks
The text was updated successfully, but these errors were encountered: