▲ | deepsun a day ago | |||||||
And not a word about fasttime.UnixTimestamp()? I thought that's the recommended way, it literally says:
https://pkg.go.dev/github.com/VictoriaMetrics/VictoriaMetric... | ||||||||
▲ | kiitos a day ago | parent | next [-] | |||||||
This package spawns a goroutine that updates an atomic value every second based on a time.Time from a time.Ticker, and its functions load that atomic value. This is not really comparable to anything in package time in any useful way... | ||||||||
▲ | noselasd a day ago | parent | prev | next [-] | |||||||
It's a bit specialized though, it's just a cached value of a time.NewTicker updating once per second and the article talks about this in the "Schedule Based on Monotonic Time" section | ||||||||
▲ | deepsun a day ago | parent | prev [-] | |||||||
Wait, I see it's been removed actually [1]. Why, isn't it faster anymore? [1] https://github.com/VictoriaMetrics/VictoriaMetrics/commit/c2... | ||||||||
|