]> Cypherpunks repositories - gostls13.git/commit
testing: add AllocsPerRun
authorKyle Lemons <kyle@kylelemons.net>
Sun, 3 Feb 2013 03:52:29 +0000 (22:52 -0500)
committerRuss Cox <rsc@golang.org>
Sun, 3 Feb 2013 03:52:29 +0000 (22:52 -0500)
commit9bfd3c393716d70038788bac102518b901b0d209
tree1004dda9d550a56c492ebf2ebcc41c7ffeca9813
parentf418c505d0b3b9de226f5c28c2345f00299845fc
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
src/pkg/encoding/gob/timing_test.go
src/pkg/fmt/fmt_test.go
src/pkg/net/http/header_test.go
src/pkg/net/rpc/server_test.go
src/pkg/path/filepath/path_test.go
src/pkg/path/path_test.go
src/pkg/reflect/all_test.go
src/pkg/strconv/strconv_test.go
src/pkg/testing/allocs.go [new file with mode: 0644]
src/pkg/time/time_test.go