Hacker News new | ask | show | jobs
by jsw 325 days 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