Descriptionstrconv: run garbage collection before counting allocations in test
My theory is that the call to f() allocates, which triggers
a garbage collection, which itself may do some allocation,
which is being counted. Running a garbage collection
before starting the test should avoid this problem.
Fixes issue 2894 (I hope).
Patch Set 1 #Patch Set 2 : diff -r e95b330978b3 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r e95b330978b3 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r 2f3f7fb12d23 https://go.googlecode.com/hg/ #MessagesTotal messages: 4
|