Start reading Pro .NET Performance: Optimize Your C# Applications on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here or start reading now with a free Kindle Reading App.

Deliver to your Kindle or other device


Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.
Pro .NET Performance: Optimize Your C# Applications (Expert's Voice in .NET)

Pro .NET Performance: Optimize Your C# Applications (Expert's Voice in .NET) [Kindle Edition]

Sasha Goldshtein , Dima Zurbalev , Ido Flatow
5.0 out of 5 stars  See all reviews (1 customer review)

Print List Price: £35.99
Kindle Price: £18.52 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £17.47 (49%)
* Unlike print books, digital books are subject to VAT.


Amazon Price New from Used from
Kindle Edition £18.52  
Paperback £25.19  
Kindle Summer Sale: Over 500 Books from £0.99
Have you seen the Kindle Summer Sale yet? Browse selected books from popular authors and debut novelists, including new releases and bestsellers. Learn more

Special Offers and Product Promotions

  • Purchase any Kindle Book sold by and receive £1 credit to try out our Digital Music Store. Here's how (terms and conditions apply)

Customers Who Bought This Item Also Bought

Product Description

Product Description

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.

About the Author

Sasha Goldshtein is a Microsoft Visual C# MVP, and the CTO of SELA Group. Sasha leads the Performance and Debugging team in the SELA Technology Center, and consults on various topics including production debugging, application performance troubleshooting, and distributed architecture. Most of Sasha's experience is in C# and C++ application development, as well as high-scalability and high-performance system architecture. He is a frequent speaker at Microsoft conferences, and the author of multiple training courses: '.NET Performance', '.NET Debugging', 'Windows Internals', and many others.

Product details

  • Format: Kindle Edition
  • File Size: 5579 KB
  • Print Length: 370 pages
  • Page Numbers Source ISBN: 1430244585
  • Publisher: Apress; 1 edition (11 Sep 2012)
  • Sold by: Amazon Media EU S.à r.l.
  • Language: English
  • ASIN: B009D7630W
  • Text-to-Speech: Enabled
  • X-Ray:
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Bestsellers Rank: #93,987 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?

More About the Author

Ido Flatow is a Senior Consultant and Lecturer at SELA Group. With over 13 years of experience in developing, designing and managing information systems, Ido is one of SELA's senior consultants on Entity Framework, Web technologies and also consults and lectures on WCF, ASP.NET and Silverlight. Currently, Ido is the chief architect of a Silverlight based GIS application through Microsoft Consulting Services.
Interesting Facts - Ido Flatow:
- Author of Microsoft's Official WCF 4 course (10263A).
- Author and contributor to various courses developed by SELA, including : ASP.NET AJAX, Entity Framework, WCF and UML OOA/D.
- Early adopter of Entity Framework and Silverlight.
- Silverlight & WPF trainer in the Metro Program.
- Lectures at Microsoft Open Houses and User Groups.
- Co-developer of the MetaLinq project that allows querying, editing & serializing of expression trees:

Customer Reviews

4 star
3 star
2 star
1 star
5.0 out of 5 stars
5.0 out of 5 stars
Most Helpful Customer Reviews
1 of 1 people found the following review helpful
Covers an area that was missing across the .NET literature stack. Makes for an interesting read, highly recommended as a reference for Performance engineers and even hardcode .NET developers and Architects. (already helped out with a few PerfMon/ETW, WCF and Page fault queries)
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on (beta) 4.7 out of 5 stars  10 reviews
9 of 9 people found the following review helpful
5.0 out of 5 stars Best book on CLR internals since CLR via C#! 21 Oct 2012
By Igal Tabachnik - Published on
It is often said that all problems in computer science can be solved by another layer of indirection. All, except performance problems. Typically, when performance problems occur, it's best to approach them like peeling an onion - removing abstractions one by one.

Joel Spolsky once wrote that all abstractions are leaky, and when it comes to understanding and solving performance problems, we often times need to understand things beyond the abstraction. Pro .NET Performance takes exactly this approach - it looks beyond the abstractions the .NET framework provides. Each chapter takes a deep look "under the hood", into the internals of memory management, object lifetime, reference vs. value types, garbage collection, generic types internals, parallelism and concurrency, unmanaged code, and many more topics, with regards to common performance problems associated with them. This book walks you through the internals of the CLR by utilizing free and commercial tools available, such as CLR profilers, debuggers and other little-known tricks. Pro .NET Performance also has a chapter on algorithm optimization, giving background information on complexity, Big-O notation, Turing machines and NP problems, followed by chapters on performance patterns.

Overall, this book provides very in-depth peek into the internals of the CLR and .NET Framework in general. The author of the book has been teaching and blogging about performance for many years, and now this information is available in this great book, that should be read by anyone who is serious about software development.
3 of 3 people found the following review helpful
5.0 out of 5 stars Very well written 28 Aug 2013
By Daniel Santimore - Published on
Format:Kindle Edition|Verified Purchase
I don't have a CS (or even Math) background, and a lot of this book deals with the process of going from .NET code to Assembly (and the effects thereof upon your application's performance). The amount I understood despite my lack of background is a testament to the authors' ability to write and grasp of the subject.

My main criticism would be that the latter sections on Network and Disk performance are pretty thin.
2 of 2 people found the following review helpful
5.0 out of 5 stars The next step to your understanding 3 Jan 2013
By S. Whitehead - Published on
Format:Paperback|Verified Purchase
I have to start off by saying that I do love this book. I will keep it as a reference book for quite a while. I would have given it a 4.5.. but it's not worth a 4..

The 4.5 is because there are various grammatical errors throughout the book. Not only general English grammar issues (at one point a sentence seems to just completely stop halfway through it..), but a couple of technical ones too. An example of this is when the author refers to the "copy by value semantics" of reference types. There are also a few spelling mistakes.

Other than that, this book delivered on what I was after. The first few chapters focus on various tools for debugging low-level issues within a .NET application. They range from using SDK tools to paid ones. This is the biggest part of the book I will use for reference.. as it involves various techniques that I, even after 6+ years in .NET have never had to use. Although, in all honesty.. I don't know if I ever will refer to these techniques.

The rest of the chapters offer up more of a companion book to Jeffrey Richter's "CLR via C#". I feel like this book explains things like Garbage Collection and the CLR's memory management in much more detail. For example, this book covers various runtime implementation details that CLRvC# merely refers to AS implementation details, without covering them. if you're like me and enjoy hearing some of these implementation details that most people prefer not to care about, then this book may just be for you. I also enjoyed the CPU cache discussion; it's interesting to see how the CPU cache is affected given that .NET is such a high level language.

This book is for people who want a better understanding of how all of the lower-level details work.

Summary: Did I learn anything from this book? Most definitely.
1 of 1 people found the following review helpful
4.0 out of 5 stars Must have for any serious .NET development 27 Jun 2013
By Klaus Nji - Published on
Format:Paperback|Verified Purchase
This book solidifies some fundamentals. Despite the occasional grammatical error, the first seven chapters alone are worth the price of the book,

Definitely recommended reading.
1 of 1 people found the following review helpful
5.0 out of 5 stars THE must have book on performance for any .NET software developer 22 Dec 2012
By Sarah.T - Published on
When I started reading Pro .Net Performance I had little knowledge on performance so I was happy to find out that this book guides you through everything you need to know about performance in the .NET world, starting with the very basics of performance measurements up to the way .Net is actually implemented.

Each chapter analyzes different aspect and the way to deal with typical performance problems related to it, summarized by a very useful "Best Practices" section.

The book opens with the process of defining performance goals and which performance metrics are relevant, followed by a thorough review of performance measurement tools and techniques.

Then it covers all the subjects that are relevant to performance and how to improve it in the context of a given application: the internals of .NET Reference Types and Value Types and how it affects the application's performance, the GC (Garbage Collector) mechanisms, tuning it and the types of GC available in the CLR, Collections and Generics internals, Concurrency and Parallelism, C# 5 Async Methods, I/O performance and network I/O performance when optimization of the computational aspect is not enough, serialization performance, how to work efficiently with Unmanaged Memory, Unsafe Code and Interop mechanisms and its impact on the application's performance, Windows 8 WinRT Interop, a preview on Algorithm Optimization, JIT Compiler Optimizations, Startup Performance for client applications, Processor-Specific Optimization, correct and sensible use of the Exceptions mechanism, Reflection and Code Generation, and Web Application Performance.

Pro .Net Performance is a comprehensive book on performance in .NET applications, based on the author's many years of experience, and is very clear and simple to follow. I highly recommend it for anyone who considers himself to be a professional software developer.
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category