Doubling performance with Silverlight multithreading

Bart Czernicki has a detailed post showing how Silverlight 2.0’s multithreading can improve performance. He took my counting primes code and  adapted it for parallel processing. On my quad core system the results are impressive:

As you can see by squinting at the screen grab, the processing time went from 0.43 to 0.20 seconds.

Multithreading is getting a bad rap in some quarters, because it greatly complicated debugging. On the other hand, if you have an app which does some heavy duty calculations then performance benefits like this are worth a little pain.

Technorati tags: , ,
VN:F [1.9.9_1125]
Rate this post
Rating: 10.0/10 (1 vote cast)
Doubling performance with Silverlight multithreading, 10.0 out of 10 based on 1 rating

Related posts:

  1. Quick code performance test for Flash vs Silverlight
  2. Speeding page load with dynamic JavaScript
  3. Silverlight 2 threading issues, Quickstarts not working
  4. What’s new in Silverlight 2.0 beta 2
  5. Steve Ballmer and Ray Ozzie at All things Digital – a poor performance

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>