Hi, I benchmarked sorty <https://github.com/jfcg/sorty> v1.0.18 on an old laptop with Core i5-4210M CPU & Manjaro Linux, between Go 1.16.7 and 1.17 (o for optimization flags, in seconds):
*16* *16o* *17* *17o* Sorting uint32 sort.Slice|17.25|16.03|14.95|14.00 sorty-1| 6.63| 6.18| 6.48| 6.09 sorty-2| 3.45| 3.21| 3.39| 3.16 sorty-3| 2.91| 2.66| 2.86| 2.63 sorty-4| 2.54| 2.30| 2.51| 2.27 sortyLsw-1|15.12|14.39|13.80|13.01 sortyLsw-2| 7.87| 7.52| 7.21| 6.77 sortyLsw-3| 6.63| 6.15| 6.02| 5.30 sortyLsw-4| 6.01| 5.38| 5.27| 4.58 Sorting float32 sort.Slice|17.70|17.17|15.36|14.44 sorty-1| 7.45| 7.00| 7.35| 6.84 sorty-2| 3.91| 3.66| 3.84| 3.58 sorty-3| 3.09| 2.86| 3.08| 2.80 sorty-4| 2.75| 2.54| 2.77| 2.50 sortyLsw-1|15.82|15.22|14.58|13.53 sortyLsw-2| 8.28| 8.01| 7.64| 7.14 sortyLsw-3| 7.01| 6.49| 6.26| 5.59 sortyLsw-4| 6.18| 5.67| 5.45| 4.81 Switching to register-based calling convention seems to have paid off quite well :) Is there any other big performance improvement in this release, or is it all because of registers? Thank you all for the release! On Tuesday, August 17, 2021 at 1:08:11 AM UTC+3 Michael Knyszek wrote: > Hello gophers, > > We just released Go 1.17 > > To find out what has changed in Go 1.17, read the release notes: > https://golang.org/doc/go1.17 > > You can download binary and source distributions from our download page: > https://golang.org/dl/ > > If you have Go installed already, an easy way to try go1.17 > is by using the go command: > $ go get golang.org/dl/go1.17 > $ go1.17 download > > To compile from source using a Git clone, update to the release with > "git checkout go1.17" and build as usual. > > Thanks to everyone who contributed to the release! > > Cheers, > Michael and Dmitri for the Go Team > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/23963fdc-2d70-4998-808e-931fc8424b48n%40googlegroups.com.