question: How to run benchmarks on the standard library ?
I have been optimizing the fmt package and would like to run benchmarks and do some comparison. However, I am having a hard time trying to get the benchmarks to run.
I can run tests with the
./all.bash. Or even if I do
go tool dist test. I am able to somehow trigger the benchmarks with
go tool dist test -run=fmt -race – it says "running benchmarks briefly". But I would like to run the full "benchmem" option too.
I am a beginner go contributor, so I apologize if this is a stupid question.
Any help is appreciated 🙂
Submitted August 11, 2017 at 12:51AM by itachi_amaterasu
via reddit http://ift.tt/2vqFgqm