Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Pragmatic Performance - When to Care About Perf, and What to Do About It

NDC Conferences via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a pragmatic approach to performance optimization in this 57-minute conference talk from NDC Conferences. Learn when to prioritize performance, how to correctly benchmark .NET code, and discover common and lesser-known performance pitfalls in the .NET Framework. Gain insights into the true meaning behind "premature optimization is the root of all evil" and understand the coding tradeoffs involved. Dive into topics such as aggregate methods, benchmarking techniques, string concatenation, dictionary usage, interfaces, loops vs. LINQ, and measuring the right metrics. Acquire practical knowledge on writing effective benchmarks, understanding slow benchmarks, and leveraging tools like BenchmarkDotNet. Conclude with a discussion on the Open to Anything approach and the concept of Hybrid Dictionary to enhance your performance optimization skills.

Syllabus

Introduction
Premature optimization
Coding tradeoffs
How does perf work
Aggregate method
Benchmarking Dotnet
How it works
Slow benchmarks
Writing a benchmark
Benchmarking
Simple benchmark
String concatenation
Dictionary
Dictionary vs IDictionary
Interfaces
Loops vs Link
Measuring the right thing
Lower invariant
Dotnet Framework
Open to anything
Hybrid Dictionary
Summary

Taught by

NDC Conferences

Reviews

Start your review of Pragmatic Performance - When to Care About Perf, and What to Do About It

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.