Thursday, 14 May 2015

TPL VS Threads

To demonstrate we have two similar program one uses Threads and other Parallel. We will not deep dive into it but we will have a clear idea How Parallel and Threads works so to make programs get's faster and optimized.

Thread uses Single Core at one time.
Parallel uses Multi Core at one time.












Now let's prove this
Thread Program
Perfmon status for the above program
Parallel Program
Perfmon status for the above program
------------------------------x-x-x------------------------------


Enjoy one of my fav song. ;)

No comments:

Post a Comment