go-benchmark
go-benchmark copied to clipboard
benchmark the golang version
Go version 1.11 includes [cl47152](https://go-review.googlesource.com/c/go/+/47152) and [cl98440](https://go-review.googlesource.com/c/go/+/98440). The changes when compared to Go version 1.10 are significant. ``` benchmark old ns/op new ns/op delta BenchmarkDecodeStdStructMedium-12 32986 26947 -18.31% BenchmarkEncodeStdStructMedium-12 1569...
though it may not make a significant difference
This is what I am doing. ```bash $ go version go version go1.12.4 linux/amd64 $ git clone https://github.com/json-iterator/go-benchmark $ cd go-benchmark $ go mod init github.com/json-iterator/go-benchmark $ go mod tidy...