]> Cypherpunks repositories - gostls13.git/commit
testing: introduce (*B).ReportAllocs()
authorShenghou Ma <minux.ma@gmail.com>
Thu, 17 Jan 2013 10:45:49 +0000 (18:45 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Thu, 17 Jan 2013 10:45:49 +0000 (18:45 +0800)
commit1e095b76229a8faa329dbdee6de246faabc3cf53
treec4e05e9370cfef0ee7135a1afcc7866531595aec
parentf5958c614166e957f2e409aaaf1db30e3c17e794
testing: introduce (*B).ReportAllocs()
Calling it will show memory allocation statistics for that
single benchmark (if -test.benchmem is not provided)

R=golang-dev, rsc, kevlar, bradfitz
CC=golang-dev
https://golang.org/cl/7027046
src/pkg/exp/html/parse_test.go
src/pkg/exp/html/token_test.go
src/pkg/testing/benchmark.go