Parallel LINQ (PLINQ) with Visual Studio 2010(leniel.net)

submitted by lenielleniel(489) 2 years, 3 months 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.

add a comment |category: |Views: 86

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story