Maximizing .NET Performance -  Nick Wienholt

Maximizing .NET Performance (eBook)

eBook Download: PDF
2008
Apress (Verlag)
978-1-4302-0784-9 (ISBN)
Systemvoraussetzungen
45,03 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen
Foreword by .NET Remoting guru Ingo RammerBACK IN 1999, the ACM published a study that presented a comparison of 40 independent implementations of a computationally intensive problem, created by different programmers in either Java the then-current managed runtime environmentor C/C++. It concluded with the finding that interpersonal differences between the developers "e;are much larger than the average difference between Java and C/C++"e; and that "e;performance ratios of a factor of 30 or more are not uncommon between the median programs from the upper half versus the lower half."e;This should teach you something: If you are not a guru-level C++ programmer, then the chance is quite high that a managed code implementation performs as well as the average C++ solution, especially given the fact that most .NET languages simply allow you fewer possibilities to introduce subtle memory related or performance-related issues. And keep in mind that this study was conducted several years ago, and that Just-In-Time Compilation (JIT) as well as memory management and garbage collection (GC) technologies have been improved in the meantime!This, however, doesn't mean that you can't create horribly slow, memory-eating applications with .NET. That's why you should be really concerned about the other part of the study's conclusion, namely that "e;interpersonal differences . . . are much larger."e; In essence, this means that you have to know about how to optimize your applications so that they run with the expected performance in a managed environment. Even though .NET frees you from a lot of tasks that in C++ would have been your responsibility as a developer, these tasks still exist; these "e;little puppets"e; have only cleared the main stage and now live in some little corner behind the scenes. If you want your application to run in the top performance range, you will still need to find the right strings to pull to move these hidden figures and tobasically keep them out of the way of negatively affecting your application's performance. (Lutz Prechtelt, "e;Comparing Java vs. C/C++ Efficiency Differences to Interpersonal Differences,"e; Communications of the ACM 42, no. 10 [October 1999]: 109 112.)But knowing about the common language runtime's internals is still not enough, as lots of performance issues actually turn up during application design and not just during the coding stage. Collections, remoting, interoperability with unmanaged code, and COM components are not the only things that come to my mind in this regard. It is the aim of Nick's book to enable you to understand the design issues as well as the underlying CLR mechanisms in order to create the programs that run on the better side of the 30-times performance difference quoted in the ACM study. Nick really managed to create a book that addresses these issues, which will otherwise turn up when carelessly coding to a managed environment. This book will allow you to get into the details without being overwhelmed by the underlying complexity of the common language runtime. The only thing you have to resist after reading the book is the urge to over-optimize your code. I was delighted to see that Nick begins with a discussion of identifying an application's performance-critical sections and only later turns towards isolating and resolving these real performance bottlenecks. This is, in my opinion, one of the most important tasks and also one of the most complex ones when working with large-scale applications.And now, read on, and enjoy the ride to the better side of a 30-fold performance difference.Ingo Rammer, author of Advanced .NET RemotingVienna, Austria http://www.ingorammer.comAbout the BookMaximizing .NET Performance is the first book dedicated entirely to providing developers and architects with information on .NET Framework performance. .NET is atechnology with a vast surface area, and coverage of every aspect of performance relevant to all .NET technologies is not possible within a single volume. This book concentrates on the performance of .NET Framework technologies like garbage collection, .NET Remoting, and Code Access Security. Because these technologies form the building blocks upon which all .NET applications run, the information in this book is relevant to all .NET developers. In addition to providing high-level material on achieving software with good performance characteristics, the books aims to enhance your knowledge of the design and implementation of the framework, and to provide the tools and techniques to allow you to conduct your own investigation into performance problems. Rather than taking a "e;tips and tricks"e; approach, the book aims to provide a detailed exploration of each topic and explore the "e;why"e; and "e;by how much"e; aspects of performance that are often overlooked.
Erscheint lt. Verlag 1.1.2008
Sprache englisch
Themenwelt Mathematik / Informatik Informatik Netzwerke
Mathematik / Informatik Informatik Software Entwicklung
Informatik Weitere Themen Hardware
ISBN-10 1-4302-0784-1 / 1430207841
ISBN-13 978-1-4302-0784-9 / 9781430207849
Haben Sie eine Frage zum Produkt?
PDFPDF (Adobe DRM)

Kopierschutz: Adobe-DRM
Adobe-DRM ist ein Kopierschutz, der das eBook vor Mißbrauch schützen soll. Dabei wird das eBook bereits beim Download auf Ihre persönliche Adobe-ID autorisiert. Lesen können Sie das eBook dann nur auf den Geräten, welche ebenfalls auf Ihre Adobe-ID registriert sind.
Details zum Adobe-DRM

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen eine Adobe-ID und die Software Adobe Digital Editions (kostenlos). Von der Benutzung der OverDrive Media Console raten wir Ihnen ab. Erfahrungsgemäß treten hier gehäuft Probleme mit dem Adobe DRM auf.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen eine Adobe-ID sowie eine kostenlose App.
Geräteliste und zusätzliche Hinweise

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich