Parallel Loops and PLINQ Queries in the Concurrency Visualizer

There are two types of Scenario Marker in the Concurrency Visualizer: those which you instrument yourself to demarcate user-defined application phases and those which appear automatically and demarcate particular runtime constructs.  While Hazim Shafi has previously written a blog entry describing the first type, we have yet to discuss the second type, which is the…

2

Tuning a Parallel LINQ File Search Application

This post explores the performance issues that arise when using PLINQ to parallelize queries, and illustrates how the Concurrency Visualizer in Visual Studio 2010 can be a valuable tool in identifying performance bottlenecks and making efficient and profitable parallelization choices. The subject of this entry is a toy application that scans a set of files…

0