1
0
mirror of https://github.com/golang/go synced 2024-10-05 21:21:21 -06:00
go/src
Dave Cheney 1e9ab9e792 time: add Now()/UnixNano() malloc tests
The fix for issue 4403 may include more calls to time.Now().UnixNano(). I was concerned that if this function allocated it would cause additional garbage on the heap. It turns out that it doesn't, which is a nice surprise.

Also add benchmark for Now().UnixNano()

R=bradfitz, minux.ma
CC=golang-dev
https://golang.org/cl/6849097
2012-11-25 11:29:06 +11:00
..
cmd cmd/go: fix typo in comment 2012-11-24 11:25:17 -08:00
lib9 lib9: remove unreferenced externs and getuser() 2012-11-08 09:39:24 -05:00
libbio build: delete make paraphernalia 2012-02-06 13:34:25 -05:00
libmach cmd/5a, cmd/5l: add MULW{T,B} and MULAW{T,B} support for ARM 2012-06-08 02:42:28 +08:00
pkg time: add Now()/UnixNano() malloc tests 2012-11-25 11:29:06 +11:00
all.bash build: restore PATH before "dist banner" 2012-06-06 20:19:16 +08:00
all.bat src/all.bat: fix banner 2012-09-20 00:58:34 +08:00
all.rc build: dist-based build for Plan 9 2012-05-01 22:32:46 -07:00
clean.bash build: fix clean.bash 2012-02-15 23:52:07 +09:00
clean.bat build: implement clean.bat 2012-02-20 12:17:27 +11:00
clean.rc build: dist-based build for Plan 9 2012-05-01 22:32:46 -07:00
make.bash build: do more during windows build 2012-03-20 14:04:20 +11:00
make.bat lib9, cmd/dist, cmd/5l: embed GOARM into cmd/5l and auto detect GOARM 2012-10-22 14:26:36 +08:00
Make.dist cmd/dist: make 'make' quieter for developers 2012-02-08 15:26:47 -05:00
make.rc build: dist-based build for Plan 9 2012-05-01 22:32:46 -07:00
run.bash run.bash: fix linux/arm build 2012-11-15 13:59:46 +11:00
run.bat run.{bash,bat,rc}: unset GOMAXPROCS before ../test 2012-11-15 11:40:10 +11:00
run.rc run.{bash,bat,rc}: unset GOMAXPROCS before ../test 2012-11-15 11:40:10 +11:00
sudo.bash sudo.bash: diagnose when the go tool is not in $PATH 2012-11-15 10:42:39 -08:00