How to Write Accurate Benchmarks in Go

It’s easy to write inaccurate benchmarks and make wrong assumptions based on them. This blog examines four common and concrete traps leading to inaccuracy.