3 ms·
For simple high-frequency time deltas, I've found this function wins on the perf front: //go:linkname nanotime runtime.nanotime func nanotime() int64
by jsw 1y ago
For simple high-frequency time deltas, I've found this function wins on the perf front:
//go:linkname nanotime runtime.nanotime
func nanotime() int64