This directory includes timestamp benchmarks for various different time stamp functions.
Different time functions have different tradeoffs.
TODO
Ubuntu Linux
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz x 20 Cores (40 Hyperthreaded)
L1 Cache: 320 kB
L2 Cache: 2560 kB
L3 Cache: 25600 kB
Memory: 126 GB
make queues
goos: linux
goarch: amd64
pkg: github.com/kellabyte/go-benchmarks/time
BenchmarkNanotime-40 20000000 59.4 ns/op 16.82 MB/s 0 B/op 0 allocs/op
BenchmarkHrtime-40 100000000 21.4 ns/op 46.76 MB/s 0 B/op 0 allocs/op
PASS
ok github.com/kellabyte/go-benchmarks/time 11.010s