Hi all,
Sorry if this is an FAQ, but then my Google-foo has failed me. :-/
It seems to me that the test functions in a bla_test.go file influence
the benchmark functions in the same file. In the snippet below, if I
comment out the body of the test function, I get better benchmark
numbers than whe
(this
> only applies to the tightest of loops, IIRC). Too lazy to look up
> references right now, but I've definitely seen this discussed on this
> mailing list as well as various issues.
>
> -Caleb
>
> On Tue, Apr 25, 2017 at 4:09 PM, Peter Fröhlich
> wrote:
>> Hi al
. Whoever fixed this on the way to
1.8: My thanks! Now if you'd just also fix the memory benchmark
scores... :-)
On Tue, Apr 25, 2017 at 9:19 PM, Peter Fröhlich
wrote:
> Thank you David and Caleb, those were helpful suggestions, especially
> benchstat! Check out my conclusions though