1
0
mirror of https://github.com/golang/go synced 2024-10-07 01:21:21 -06:00
go/src/pkg/time
Kyle Lemons 9bfd3c3937 testing: add AllocsPerRun
This CL also replaces similar loops in other stdlib
package tests with calls to AllocsPerRun.

Fixes #4461.

R=minux.ma, rsc
CC=golang-dev
https://golang.org/cl/7002055
2013-02-02 22:52:29 -05:00
..
example_test.go time: standard time doc fix and format example 2013-01-22 14:44:49 -05:00
export_test.go time: fix race 2013-01-14 14:09:42 -08:00
format.go time: standard time doc fix and format example 2013-01-22 14:44:49 -05:00
internal_test.go time: fix race 2013-01-14 14:09:42 -08:00
sleep_test.go time: make TestReset more reliable 2013-01-22 17:25:58 -08:00
sleep.go time: add Timer.Reset 2013-01-17 14:41:53 +11:00
sys_plan9.go os,time: fix Plan 9 build 2012-02-20 12:31:24 +11:00
sys_unix.go time: switch to using (uncompressed) zoneinfo zip file 2012-02-19 03:16:20 -05:00
sys_windows.go time: switch to using (uncompressed) zoneinfo zip file 2012-02-19 03:16:20 -05:00
tick_test.go time: during short test, do not bother tickers take longer than expected 2012-03-07 01:10:55 +08:00
tick.go time: clarify why timer.Stop and ticker.Stop don't close the channel 2012-11-08 23:25:48 +08:00
time_test.go testing: add AllocsPerRun 2013-02-02 22:52:29 -05:00
time.go time: fix race 2013-01-14 14:09:42 -08:00
zoneinfo_plan9.go os,time: fix Plan 9 build 2012-02-20 12:31:24 +11:00
zoneinfo_read.go all: fix typos 2012-12-19 03:04:09 +08:00
zoneinfo_unix.go time: switch to using (uncompressed) zoneinfo zip file 2012-02-19 03:16:20 -05:00
zoneinfo_windows.go gofmt: apply gofmt -w src misc 2012-10-30 13:38:01 -07:00
zoneinfo.go time: make Format 2.7x faster 2012-06-03 11:08:17 -04:00