Professional Documents
Culture Documents
Number of loops
The benchmark function must run the
target code b.N times.
●
Compiler optimisations
– Phần: “A note on compiler optimisations”
Các yếu tố ảnh hưởng tới
benchmark
Stress test Go packages
●
https://dave.cheney.net/2013/06/19/stress-test-
your-go-packages
●
Ref
●
Go Performance Tales
Ref
●
https://golang.org/pkg/testing/
●
https://dave.cheney.net/2013/06/30/how-to-write
-benchmarks-in-go
●
http://www.soroushjp.com/2015/01/27/beautifull
y-simple-benchmarking-with-go/
●
http://www.gophercon.in/pdf/gcon1.pdf
●
https://medium.com/@hackintoshrao/analyzing-
benchmarks-with-ease-using-benchcmp-and-be
nchviz-golang-add607fc46d6
●
https://medium.com/@hackintoshrao/daily-code
-optimization-using-benchmarks-and-profiling-in
-golang-gophercon-india-2016-talk-874c8b4dc3