question: How to run benchmarks on the standard library ?


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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s