Home NewsX Azure Code Optimizations

Azure Code Optimizations

by info.odysseyx@gmail.com
0 comment 21 views


Application Insights Code Optimization for .NET is now generally available.

Application Insights Code optimization helps you identify and solve Performance bottlenecks occur at the code level in .NET applications running on Azure. Leverage advanced AI-based models to analyze Application Insights Profiler traces and display actionable next steps. Azure portal At no additional cost. This saves you time and increases your productivity. Detection in Azure portal to Code-level resolution with GitHub Copilot.

AI models are developed in-house based on Microsoft’s experience with large-scale cloud services, including Azure, Teams, Microsoft 365, and Xbox. that ~ no Train or fine-tune using code or performance tracking. Once your App Insights Profiler Code optimization analysis is performed automatically when you collect and upload traces for your .NET applications.

Identify – Application Insights Code Optimization

Based on your feedback, you can: View all code optimization recommendations Across your Azure subscriptions and Application Insights resources in the Azure portal. This allows you to track code-level performance recommendations for all environments (including development, test, pre-production, and production) in one place.

Recommendations are updated hourly. By default, the view shows recently identified issues for 24 hours. If your application is under high load, you may see more recommendations, but during quiet periods, you may not see any. There is a 30-day record for you to review and analyze past events.

JanKalis_0-1730131529625.png

Solved – GitHub Copilot with Code Optimization extension (Preview)

Developers are excited to see how effectively they can consult with GitHub Copilot on code fixes related to issues detected through code optimization. You can install the following in Visual Studio or Visual Studio Code: Application Insights Code Optimization Extension (Preview) GitHub Copilot provides code fixes based on code optimization insights to help you better solve specific performance issues. This feature requires GitHub Copilot.

JanKalis_1-1730131565211.png

How does it work? Simply open the code base corresponding to your app running on Azure set up for code optimization. Install extension Ask your co-pilot to review code optimization insights using the @code_optimizations technique.

Application Insights Profiler for .NET

Application Insights Profiler for .NET collects performance traces of your application, then Code Optimizer automatically analyzes these traces and provides insights and actionable next steps. The profiler runs alongside your application and is designed to run in production environments.

In response to your feedback, we’ve made improvements to the profiler to reduce its impact on the server. Our AI model for code optimization allowed us to reduce the tracking period by 75%, from the previous 120 seconds to 30 seconds. We also performed several internal profiler optimizations to further reduce overhead, including reducing trace size by up to 55%. These changes are now rolling out globally.

By default, the profiler actively collects traces for 30 seconds approximately every hour, or during periods of high CPU or memory usage. This period typically adds up to 15% CPU and memory overhead to your server. Hourly traces (called sampling) are good for proactive tuning, while high CPU and memory traces (called triggers) are useful for reactive troubleshooting. you can Further customize Application Insights profiler settings According to your needs.

What’s next in code optimization?

We are continuously evolving our features based on your feedback. Let us know how you can use code optimization and how you can prioritize your next investments. https://aka.ms/CodeOptimizations/Feedback.

next steps

Frequently Asked Questions

  • How is the Code Optimizations AI model trained? The model is trained on Microsoft’s source code for large-scale cloud services such as Azure, Teams, Microsoft 365, and Xbox. that ~ no Train or fine-tune using code or performance tracking.
  • How much does code optimization cost? Code optimization is done through Application Insights (documentation, price), analyze your Application Insights Profiler traces at no additional cost.
  • How can I provide feedback? We recommend using the thumbs up/down feature in the Azure portal or filling out a simple form. feedback.





Source link

You may also like

Leave a Comment

Our Company

Welcome to OdysseyX, your one-stop destination for the latest news and opportunities across various domains.

Newsletter

Subscribe my Newsletter for new blog posts, tips & new photos. Let's stay updated!

Laest News

@2024 – All Right Reserved. Designed and Developed by OdysseyX