The Art of .Net Optimization : A deep dive into benchmarking, profiling, and tuning C# systems for peak performance

  • 予約

The Art of .Net Optimization : A deep dive into benchmarking, profiling, and tuning C# systems for peak performance

  • ただいまウェブストアではご注文を受け付けておりません。 ⇒古書を探す
  • 製本 Paperback:紙装版/ペーパーバック版
  • 言語 ENG
  • 商品コード 9781808083815

Full Description

Improve application speed by finding waste, isolating slow paths, and choosing fixes that stay reliable under real workloads

Key Features

Link symptoms to root causes across memory, runtime, hardware, and frameworks
Compare trade-offs using evidence, diagrams, and concise runnable examples
Keep larger code samples in a companion repository for hands-on practice

Book DescriptionStrengthen your ability to diagnose slow, memory-hungry, or unpredictable C# applications without relying on guesswork. This book helps you connect visible symptoms to the runtime, libraries, hardware, and architectural choices behind them.
The Art of .NET Optimization takes a practical path through modern .NET engineering. You will create baselines, read profiler signals, interpret traces, and use repeatable experiments before changing code.
As you progress, you will explore strings, collections, delegates, reflection, object pooling, garbage collection, resource cleanup, Span-based APIs, pipelines, JIT behavior, unsafe boundaries, SIMD, async/await, parallelism, and lock-free structures. The later chapters connect these skills to ASP.NET Core, EF Core, Source Generators, Native AOT, and live diagnostics.
By the end of this book, you will be able to reason about cost, validate improvements, and choose maintainable techniques for software that must remain fast, scalable, and efficient.What you will learn

Establish baselines with repeatable benchmark suites
Interpret traces from profilers and live telemetry
Lower allocations in text, collections, closures, and calls
Control GC behavior, object lifetime, and cleanup paths
Design APIs with spans, buffers, and pipelines
Inspect JIT output, vectorization, and unsafe boundaries
Improve async, parallel, and lock-free execution
Tune web APIs, database access, caching, and AOT builds

Who this book is forC# developers, .NET engineers, backend developers, solution architects, and performance-minded programmers who want to diagnose bottlenecks and improve application speed, memory use, and scalability. A working knowledge of C# and basic .NET development is required; experience with production systems will help you get the most from this book.

Contents

Table of Contents

The Worldview of Performance Optimization
Mastering Performance Measurement and Analysis
The "Contract" of Hardware: What Programmers Must Know About CPU and Memory
Type Systems: The Performance Secrets of Value Types and Reference Types
String and Text Processing
Collections and Data Structures
Delegation, Lambda, and Reflection
In-Depth Analysis of .NET GC
Identifying and Eliminating Unnecessary Memory Allocations
Span: The Modern .NET Memory Revolution
IDisposable, Finalizers, and Resource Management
System.IO.Pipelines: The Future of High-Performance IO
The Inner Workings of the JIT Compiler
Unsafe Code and Pointers: Unleashing Ultimate Performance
SIMD: Single Instruction, Multiple Data Parallelism
The Magic of Bitwise Operations
Struct Layout and Data Alignment
Multithreading and Synchronization Mechanisms
In-Depth Analysis of async/await
Parallel Computing
Advanced Concurrency Patterns and Lock-Free Data Structures
High-Performance Practices in ASP.NET Core
Entity Framework Core Performance Optimization
The AOT Era: Source Generators and Native AOT
Summary and Outlook

最近チェックした商品