testing: Benchmark shows zero allocations #20863
testing.Benchmark does not seem to produce valid memory stats any more:
The following program:
I'd expect it to print
like previous Go versions.
go version devel +eab99a8 Mon Jun 26 21:12:22 2017 +0000 linux/amd64
The text was updated successfully, but these errors were encountered:
This is already documented
but if it was changed in go1.9 then I agree it's worth mentioning in release notes, too.