Share

Go 1.20 previews profile-guided optimization

Go 1.20, an upgrade to the Google-developed open source language known for its simplicity, concurrency, and functional programming features, has arrived in a production release. The new version previews profile-guided optimization (PGO) for the compiler.

Announced February 1, Go 1.20 can be downloaded from go.dev. With Go 1.20, preview support for PGO enables the compiler toolchain to perform application-specific and workload-specific optimizations based on runtime profile data. The compiler currently supports pprof CPU profiles, which can be collected through the runtime/pprof or net/http/pprof packages.

To read this article in full, please click here

Author: . [Source Link (*), InfoWorld]

Shop with us!