news
Microsoft previews AI-based code optimization for .NET apps
Microsoft announced Thursday that Azure Monitor users can now try out the public preview of code optimization to detect performance issues in their .NET apps and services.
Code Optimization was formerly known as “Optimization Insights” when it was introduced as a “Limited Preview” release in March 2022. It’s part of Application Insights, an Azure Monitor extension that uses telemetry data to perform application performance monitoring tasks.
Code optimization leverages the Applications Insights Profiler and uses artificial intelligence (AI) to detect performance issues such as CPU and memory utilization issues. Follow the Microsoft documentation on code optimization to analyze your application’s run-time behavior and compare its performance to best practices.
These application performance best practices are provided by Microsoft, as code optimizations are based on collecting traces from “Microsoft-owned services around the world,” according to Microsoft’s March 2022 explanation. I’m here.
By learning from these traces, the model can capture patterns that address various performance issues found in .NET applications and learn from the expertise of Microsoft performance engineers. This enables our AI models to pinpoint various app performance issues.
Microsoft’s announcement suggests that organizations can benefit from code optimizations because they may not need to scale out cloud resources or pay for “unnecessary computing power.” . Code optimizations can also improve “user experience” issues in applications, saving IT professionals time “manually sifting through gigabytes of profiler data.”
Finally, Microsoft suggested that using code optimizations would not reduce the functionality of the app and would not incur costs to the organization.
Code optimization is performed at no additional cost and is performed completely offline for your app. It doesn’t affect app performance.
According to Microsoft’s Azure Monitor FAQ document, Application Insights in Azure Monitor is said to be free for “experimental purposes” because users get “a fixed amount of data each month for free.” More generally, Microsoft charges for data ingested with Application Insights according to Microsoft’s Azure Monitor pricing page.
For those of you whose memory is a little fuzzy, Microsoft had separate Log Analytics and Application Insights products that appeared to perform similar functions to those Azure Monitor features. However, Microsoft’s FAQ states that both of these products were built into Azure Monitor over four years ago.
“Log Analytics and Application Insights features have not changed, but some features have been rebranded to Azure Monitor to better reflect their new scope,” the FAQ adds. .
Microsoft does not charge for Azure Monitor features that are automatically enabled. The FAQ explains that there is no charge for ‘Metrics and Activity Log Collection’ when used in conjunction with Azure Monitor’s enabled features. However, Microsoft charges for other Azure Monitor features such as “log queries and alerts”.
About the author
Kurt Mackie is a Senior News Producer in 1105 Media’s Converge360 group.
