Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a pragmatic approach to performance optimization in this 54-minute conference talk. Learn when to prioritize performance, how to properly benchmark .NET code, and discover common performance pitfalls in the .NET Framework. Gain insights into the true meaning of "premature optimization is the root of all evil" and understand the context for performance considerations. Dive into various benchmarking techniques, including string concatenation, dictionary usage, interface implementations, and loop optimizations. Analyze real-world examples and results to make informed decisions about performance improvements in your code. Conclude with a summary of key takeaways and participate in a Q&A session to deepen your understanding of pragmatic performance optimization strategies.
Syllabus
Intro
Premature optimization
Context
Running benchmarks
Benchmark features
String concatenation
String concatenation results
What are you trying to achieve
Dictionary vs ID
Dictionary vs Interface
Interface vs Concrete
Loops vs Link
Benchmarking Link
String case conversions
Can you switch
Hybrid Dictionary
Summary
Questions
Taught by
NDC Conferences