Login
From:
Alex Pliutau Blog
(Uncensored)
subscribe
Measure performance changes with benchcmp
https://pliutau.com/measure-performance-changes/
links
backlinks
Roast topics
Find topics
Find it!
go test -bench=. Go has a great option to write your benchmarks and run it together with go test with option -bench. To create a benchmark function you must do the following: