Posted in

Go时间函数性能对比实录:time.Now() vs runtime.nanotime() vs syscall.Gettimeofday(),第3种快2.8倍但99%人不敢用

第一章:Go时间函数性能对比实录 … Go时间函数性能对比实录:time.Now() vs runtime.nanotime() vs syscall.Gettimeofday(),第3种快2.8倍但99%人不敢用Read more

Posted in

Go语言做的程序是什么:为什么pprof CPU profile能精准到ns级?揭秘runtime·nanotime调用链与VDSO协同机制

第一章:Go语言做的程序是什么 … Go语言做的程序是什么:为什么pprof CPU profile能精准到ns级?揭秘runtime·nanotime调用链与VDSO协同机制Read more