]> Cypherpunks repositories - gostls13.git/commit
runtime: use vDSO for gettimeofday on linux/amd64
authorAnthony Martin <ality@pbrane.org>
Thu, 8 Nov 2012 02:29:31 +0000 (18:29 -0800)
committerAnthony Martin <ality@pbrane.org>
Thu, 8 Nov 2012 02:29:31 +0000 (18:29 -0800)
commit024a92c1da0b5e147df01ed184fe8d655af62900
treeed8cdddf00ec472746914ed0770eba4f5eb016de
parent122c154c605b83b3edd0324c1b038457bbc70784
runtime: use vDSO for gettimeofday on linux/amd64

Intel Core 2 Duo (2.16 GHz) running 3.6.5-1-ARCH

benchmark       old ns/op    new ns/op    delta
BenchmarkNow         1856         1034  -44.29%

R=rsc
CC=golang-dev
https://golang.org/cl/6826072
src/pkg/runtime/sys_linux_amd64.s