The next version of Microsoft’s open source, cross-platform version of the .Net software platform, .Net Core 2.0, will bring profile-guided optimization (PGO) to Linux x64. PGO is native compilation technology used by the C++ compiler to generate faster-running code.
PGO features a two-step process, including a training run that records information about execution and a build step that uses the results of the training run to generate better optimized code, Microsoft’s Bertrand Le Roy and Daniel Podder explained in a blog post. The .Net Core 2.0 upgrade will add PGO optimizations to .Net Core on both the Windows x86 and Linux x64 platforms. PGO began working with Windows x64 in the .Net Core 1.1 release and it has been used in the Windows-based .Net Framework for years.