Pro .NET Performance: Optimize Your C# Applications (Paperback)
暫譯: Pro .NET 性能:優化您的 C# 應用程式 (平裝本)

Sasha Goldshtein

商品描述

Maximizing the performance of your algorithms and applications is extremely important and can give you a competitive advantage, a lower cost of ownership, and happier users. Pro .NET Performance explains the internals of Windows, the CLR, and the physical hardware that affect the performance of your applications, and gives you the knowledge and tools to measure how your code performs in isolation from external factors.

The book is full of C# code samples and tips to help you squeeze every bit of juice from your application—lower memory utilization, consistent CPU usage, and fewer I/O operations across the network and disk. Pro .NET Performance will change the way you think about .NET application development.

  • Guides you through performance measurement with a variety of profilers and other tools
  • Explains how OS and CLR internals affect your application’s performance in unexpected ways
  • Provides you with tips and real-life case studies for improving application performance

What you’ll learn

  • Measure your code’s performance with profilers and other tools.
  • Understand where the bottlenecks are and focus on the right area for performance improvement.
  • Manage memory efficiently by interacting properly with the garbage collector.
  • Avoid common pitfalls by choosing the right abstractions.
  • Understand the performance implications of the underlying operating system and runtime.
  • Improve the performance of your applications by parallelization, caching, micro-optimization, and other techniques.

Who this book is for

Pro .NET Performance is for working .NET developers who care about the performance of their applications. It requires basic familiarity with Windows and the CLR, but guides the reader along the way and does not require prior experience with any performance-measurement tools. Pro .NET Performance also offers practical tips, case studies, and low-level knowledge for experienced developers and architects.

Table of Contents

Chapter 1: Performance Metrics

Chapter 2: Performance Measurement Tools

Chapter 3: Type Internals

Chapter 4: Garbage Collection and Finalization

Chapter 5: Collections and Generics

Chapter 6: Concurrency and Parallelism

Chapter 7: Networking, I/O, and Serialization

Chapter 8: Unsafe Code and Interoperability

Chapter 9: Algorithm Optimization

Chapter 10: Performance Patterns

Chapter 11: Web Application Performance

商品描述(中文翻譯)

最大化演算法和應用程式的效能是非常重要的,這可以為您帶來競爭優勢、降低擁有成本,並讓使用者更滿意。《Pro .NET Performance》解釋了影響您應用程式效能的 Windows、CLR 及實體硬體的內部運作,並提供您測量程式碼在不受外部因素影響下效能的知識和工具。

本書充滿了 C# 程式碼範例和技巧,幫助您從應用程式中榨取每一分效能——降低記憶體使用量、一致的 CPU 使用率,以及減少網路和磁碟的 I/O 操作。《Pro .NET Performance》將改變您對 .NET 應用程式開發的思考方式。

- 指導您使用各種分析器和其他工具進行效能測量
- 解釋作業系統和 CLR 內部運作如何以意想不到的方式影響應用程式的效能
- 提供改善應用程式效能的技巧和實際案例研究

您將學到的內容:
- 使用分析器和其他工具測量程式碼的效能。
- 了解瓶頸所在,並專注於正確的區域以改善效能。
- 通過正確與垃圾回收器互動來有效管理記憶體。
- 通過選擇正確的抽象來避免常見的陷阱。
- 了解底層作業系統和執行時的效能影響。
- 通過平行化、快取、微優化和其他技術來改善應用程式的效能。

本書適合對象:
《Pro .NET Performance》適合關心應用程式效能的 .NET 開發人員。它需要對 Windows 和 CLR 有基本的熟悉,但會在過程中指導讀者,並不需要先前使用任何效能測量工具的經驗。《Pro .NET Performance》還為經驗豐富的開發人員和架構師提供實用的技巧、案例研究和低層次的知識。

目錄:
第 1 章:效能指標
第 2 章:效能測量工具
第 3 章:類型內部運作
第 4 章:垃圾回收與終結
第 5 章:集合與泛型
第 6 章:併發與平行處理
第 7 章:網路、I/O 與序列化
第 8 章:不安全程式碼與互操作性
第 9 章:演算法優化
第 10 章:效能模式
第 11 章:網頁應用程式效能

最後瀏覽商品 (19)