]> Cypherpunks.ru repositories - gostls13.git/commit
testing: revert CL 36791's conditional ReadMemStats
authorBrad Fitzpatrick <bradfitz@golang.org>
Fri, 30 Jun 2017 16:12:28 +0000 (16:12 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 30 Jun 2017 16:49:29 +0000 (16:49 +0000)
commit0ff876a8505d61fc20f3176f90bc589d76a4c966
tree7efc04b4fcb21f727e61dfa1ce617d64f95f8266
parentee4550440afd4f896dbcfe40c04e7fe11abd5a7b
testing: revert CL 36791's conditional ReadMemStats

Now that ReadMemStats is fast (CL 34937), CL 36791 is not so
necessary, and causes confusion. See #20863

This was already partially reverted in CL 46612 but missed two of the
spots.

Fixes #20863

Change-Id: I1307a0f7b1f9e86e8b6ceaa6a677f24f13431110
Reviewed-on: https://go-review.googlesource.com/47350
Reviewed-by: Austin Clements <austin@google.com>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/testing/benchmark.go