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
Showing
src/pkg/testing/allocs.go
0 → 100644
Please
register
or
sign in
to comment