Benchmarking Go programs

Benchmarking is an important step in writing software. This may extend beyond the scope of your Go program, but attention should also be given to the Go program itself. If you’re writing APIs or if you’re implementing a parser for a specific file format - benchmarking will tell you how performant your implementation is.

Writing tests in Go is relatively simple - you create a file with the suffix _test.go, and when you run go test it will run the tests contained within. But there&...

 •  0 comments  •  flag
Share on Twitter
Published on June 06, 2017 11:00
No comments have been added yet.