x/time/rate: limiter frequency does not correspond to expected frequency #37058
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
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
)?go env
OutputWhat did you do?
I use rate limiter from standard library in order to limit the number of cycles of a some operation. The actual RPS is printed every second.
What did you expect to see?
Expected that the actual RPS would be about 100000, but in fact it's only about 26000. Also the CPU is underloaded (CPU usage is around 60-70% on my hardware, so it doesn't even consume a single core).
What did you see instead?
The text was updated successfully, but these errors were encountered: