Writing High-Performance .NET Code, 2nd Edition [PDF]
NOTE: This is the PDF edition of the book. If you want the look of the print edition electronically, this is it.
Take performance to the next level!
This book does not just teach you how the CLR works—it teaches you exactly what you need to do now to obtain the best performance today. It will expertly guide you through the nuts and bolts of extreme performance optimization in .NET, complete with in-depth examinations of CLR functionality, free tool recommendations and tutorials, useful anecdotes, and step-by-step guides to measure and improve performance.
This second edition incorporates the advances and improvements in .NET over the last few years, as well as greatly expanded coverage of tools, more topics, more tutorials, more tips, and improvements throughout the entire book.
New in the 2nd Edition:
- 50% increase in content!
- New examples, code samples, and diagrams throughout entire book.
- More ways to analyze the heap and find memory problems.
- More tool coverage, including expanded usage of Visual Studio.
- More benchmarking.
- New GC configuration options.
- Code warmup techniques.
- New .NET features such as ref-returns, value tuples, SIMD, and more.
- More detailed analysis of LINQ.
- Tips for high-level feature areas such as ASP.NET, ADO.NET, and WPF.
Also find expanded coverage and discover new tips and tricks for:
- Profiling with multiple tools to quickly find problem areas.
- Detailed description of the garbage collector, how to optimize your code for it, and how to diagnose difficult memory-related issues.
- How to analyze JIT and diagnose warmup problems.
- Effective use of the Task Parallel Library to maximize throughput.
- Which .NET features and APIs to use and which to avoid
- Instrument your program with performance counters and ETW events
- Use the latest and greatest .NET features
- Build a performance-minded team
- …and so much more