Parallel LINQ (PLINQ) with Visual Studio 2010 (www.leniel.net)
submitted by
leniel(415) 3 months, 7 days ago
On the last day of May I wrote about how to calculate prime numbers with LINQ in C#. To close that post I said that I’d use the primeNumbers delegate to evaluate PLINQ (Parallel LINQ) and measure the performance gains when the same calculation is done in parallel instead of in a sequential fashion. As promised, today I show the performance gains when the same delegate is run in 2 cores (parallel) instead of only 1 core (sequential). In this post you'll also see the new parallel debugging windows that come with Visual Studio 2010: Parallel Stacks and Parallel Tasks.
read more...
|
category: Linq
|
Views: 16
tags:
LINQ threads Programming Parallel tasks another
Everyones tags:
Your Tags: