У нас вы можете посмотреть бесплатно Writing (in)efficient C# - Callum Whyte - NDC Porto 2024 или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
This talk was recorded at NDC Porto in Porto, Portugal. #ndcporto #ndcconferences #developer #softwaredeveloper Attend the next NDC conference near you: https://ndcconferences.com https://ndcporto.com/ Subscribe to our YouTube channel and learn every day: / @NDC Follow our Social Media! / ndcconferences / ndc_conferences / ndc_conferences #dotnet #testing #csharp #code Surprisingly there are many small things we C# developers do that lead to inefficient code. All of this can add up to a big performance or stability problem, especially at scale... With an understanding of what happens under-the-hood, and the tools available to help, this doesn't have to be the case! This session will dive deep into common C# pitfalls and how to avoid them, covering: enumeration, deferred execution, casting and boxing, string concatenation, statics and object disposal, and reducing allocations. We'll explore how methods like ToList() and ToArray() to work internally, and how they are often misused alongside the convenience of features like Linq to create serious inefficiencies. Importantly, let's learn how to diagnose and fix performance issues when they do occur – with the help of some widely available tools to help identify inefficient code; directly within Visual Studio, with external tools like DotTrace or ANTS Profiler, with Open Source tools like BenchmarkDotNet, and even cloud tools like Application Insights. Finally we will discuss how to adapt processes to help prevent issues in the first place, measuring and tracking performance improvements as part of development cycles, and convincing teams to treat performance with equal importance as features. Everyone will leave with knowledge of how to optimise their code in a meaningful way!