Go 1.17

13 views
Skip to first unread message

l.mi...@gmail.com

unread,
Aug 19, 2021, 5:17:37 AM8/19/21
to Prometheus Users

Go 1.17 was released recently - https://go.dev/blog/go1.17 - with claims of performance improvements:

> This release brings additional improvements to the compiler, namely a new way of passing function arguments and results. This change has shown about a 5% performance improvement in Go programs and reduction in binary sizes of around 2% for amd64 platforms. Support for more platforms will come in future releases.

I've tested this on a bunch of production workloads and I can confirm that I'm seeing ~5% cpu usage reduction. And that's on top of v2.29.1 upgrade which seem to also improve performance by 2-5%.

Ben Kochie

unread,
Aug 19, 2021, 5:34:44 AM8/19/21
to l.mi...@gmail.com, Prometheus Users
Yup, we'll probably use it in the next release. We have a bot that automatically updates our Go versions. There's a minor issue that needs fixing for the fact that Go doesn't release it as "1.17.0", but it will be fixed by the next Prometheus release.

--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/d705df2f-8a4e-453d-ac6c-519a9bb46dfan%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages