I ran the test code provided by the article, and got result: % time seconds usecs/call calls errors syscall ------ ----------- ----------- --------- --------- ---------------- 100.00 0.000418 4 100 gettimeofday ------ ----------- ----------- --------- --------- ---------------- 100.00 0.000418 100 total
So I guess it's true that the problem is related to it? On Friday, May 25, 2018 at 1:48:50 AM UTC+8, Uli Kunitz wrote: > > The following explanation might be relevant: > > > https://blog.packagecloud.io/eng/2017/03/08/system-calls-are-much-slower-on-ec2/ > > The Go runtime, at least for 1.10, supports VDSO on Linux. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.