FrameworkBenchmarks icon indicating copy to clipboard operation
FrameworkBenchmarks copied to clipboard

⬆️ Bump Go 1.19 + Chi v5 + set `GOAMD64=v3`

Open 0uep opened this issue 3 years ago • 0 comments

This PR bumps Chi from v4 to v5. The change in the Chi version is only the switch to Go modules, there is no API change or new features.

Each Go version improves the performance, between Go-1.14 and Go-1.19 I expect some little gains.

Moreover GOAMD64=v3, compared to the default GOAMD64=v1, enables the following instructions set: CMPXCHG16B, LAHF, SAHF, POPCNT, SSE3, SSE4.1, SSE4.2, SSSE3, AVX, AVX2, BMI1, BMI2, F16C, FMA, LZCNT, MOVBE, OSXSAVE. See https://github.com/golang/go/wiki/MinimumRequirements#amd64

The way to compile Go is to use the Go modules introduced in Go-1.11.

0uep avatar Sep 19 '22 01:09 0uep