Introduction to Performance Measurement Session
The slides and demos are available here. In the Allocations folder you’ll find an app that allocates memory rapidly because it uses string concatenation instead of StringBuilder. In the Leak folder you’ll find a classic memory leak. In the Concurrency folder you’ll find a naïve parallelization attempt that illustrates a subtle performance difference between CLR monitors (locks) and Windows mutexes. Finally, in the TierInteractions folder you’ll find a simple app that performs some queries on a database, and can be profiled using Tier Interactions Profiling in Visual Studio.
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)