testing: test.memprofilerate documentation is not accurate #16404
Labels
Milestone
Comments
CL https://golang.org/cl/31332 mentions this issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The docs for the -test.memprofilerate flag say "if >= 0", but the code is simply greater, not greater than or equal:
And the default is 512KB, not 0: https://golang.org/pkg/runtime/#pkg-variables
The text was updated successfully, but these errors were encountered: