-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Description
What version of Go are you using (go version)?
go 1.11.12, planning to upgrade to go 1.12.15
Does this issue reproduce with the latest release?
Yes, with go 1.12.15
What operating system and processor architecture are you using (go env)?
Ubuntu 18.04
What did you do?
Since go 1.11 is about to go EOL, we are planning to upgrade to the next version. I attempted
to upgrade to go 1.12.15, but I am seeing 15-20% performance degradation. A similar result was seen with go 1.13.6.
What did you expect to see?
I was hoping to see performance improvement with a newer go compiler.
What did you see instead?
Instead of performance improvement, saw performance degradation instead.
Is there anything in newer go versions (1.12 and beyond) that could answer the above performance degradation? I read online that the scheduler was modified to allow preemption of long-running goroutines. While I do not know if this could cause the performance issue, is there any way to revert this scheduler behavior just for test purposes. Any other suggestions are welcome.