Video description
A reliable and comprehensive test suite for your applications isn’t a luxury anymore—it’s a requirement. This course is the third in a series of "Testing in Go" programs that teach you how to test your Go applications to make sure what you ship works the first time. It focuses specifically on how to write benchmark tests in Go that capture micro benchmarks of your code's performance.
- Learn how to write benchmark tests in Go to capture micro benchmarks of your code's performance
- Understand the ways to benchmark your code (and nothing else)
- Uncover the secret ways the Go compiler tries to defeat you when you're running benchmarks
- Discover the ways to get around the traps the Go compiler sets when you're running benchmarks
- Learn how to avoid benchmarking setup/teardown code
- Explore methods for running profiles on your benchmarks to see what's going on under the hood
Brian Ketelsen is the founder of the Gopher Academy, the parent group that manages GopherCon, the Go programming language conference. A prolific open source enthusiast, he has contributed to many of Go's largest projects, including Docker, Kubernetes, etcd, SkyDNS, Kong, Go-Kit, and Goa. Brian holds a bachelor’s degree in computer science from American InterContinental University.
Product information
- Title: Measuring Performance with Benchmarks in Go
- Author(s):
- Release date: July 2017
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491992166
You might also like
book
Hands-On High Performance with Go
Proven methodologies and concurrency techniques that will help you write faster and better code with Go …
article
Run Llama-2 Models Locally with llama.cpp
Llama is Meta’s answer to the growing demand for LLMs. Unlike its well-known technological relative, ChatGPT, …
video
Managing Dependencies in Go
Almost all modern software projects use third-party dependencies to do their job. From version control systems …
video
Mark Bates on Go Database Frameworks and Tools
Open source Go, the highly scalable programming language developed at Google, is the emerging language of …