In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
.net Core introduces performance analysis to guide optimization example analysis, which is not very clear to many beginners. In order to help you solve this problem, the following editor will explain it in detail. People with this need can come and learn. I hope you can get something.
Performance Analysis guided Optimization (Profile Guided Optimization, PGO) is a native compilation technique that can be used to generate highly optimized code. It is optimized through a two-step compilation process-- the first step records the relevant execution information, and then the second step uses that information to build an improved binary file. Historically, the benefit of this process has been to improve the position of binaries in the mirror, resulting in better behavior and reference set locality, according to Daniel Podder and Bertrand Le Roy from Microsoft.
An important reason for implementing PGO in .NET Core is that users do not need to take any special measures to benefit from PGO because it applies to the .NET Core runtime and the JIT compiler. Therefore, it will make appropriate improvements for specific applications according to their usage, and managed applications will automatically benefit.
Podder and Le Roy say that for this release, PGO optimizations have been applied to the native parts of the .NET Core runtime, but in the future they will apply these optimizations to managed components of the .NET Core technology stack. Unlike PGO optimizations for .NET Core 1.1 that only apply to Windows x86, these latest optimizations have been extended to Windows x64 and Linux x64.
Since a .NET Core application spends more than 75% of its startup time on coreclr.dll and clrjit.dll (libcoreclr.so and libclrjit.so on Linux), that's where the team tries to measure and improve performance. According to Microsoft's benchmark, the improvement on the Windows platform (x64 & x86) is significant, with a performance improvement of between 14% and 23%. On the other hand, the performance improvement on Linux x64 is between 2% and 5%. This is important to let us know that enabling PGO does not lead to performance degradation on Linux, and it also shows that there is still a lot of room for improvement in the future.
According to a Microsoft spokesman, Windows and Linux are seen as key deployment targets, so they will introduce PGO technology first. For other platforms, such as macOS, they will consider based on user feedback in the future.
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.