runtime: time.Tick resolution on Linux dropped to less than 1ms starting with go 1.16? #63145
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
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
)?go env
OutputWhat did you do?
main.go
andgo.mod
from https://go.dev/play/p/N0GinbmwtDIWhat did you expect to see?
About 1000 ticks in all Go versions?
What did you see instead?
Starting with go 1.16 we got 5-10% less ticks.
I reproduced it both on amd64 and arm64 AWS VMs, and on amd64 linux laptop.
I found two issues that seem somewhat related:
#44343 (but that one is specifically about Windows, right?)
#53824
But it doesn't look to me that this one is exactly a duplicate.
The text was updated successfully, but these errors were encountered: