Parallel development and learning 1-parallel plinq and parallel development

Source: Internet
Author: User

Parallel development and learning 1-parallel plinq and parallel development

I have been reading articles from yuanyou these two days.

8-day interactive parallel development-Use of plinq on the third day

I practiced the first instance and found something interesting.

Test environment:. net 4.5 64-bit (if it is 32-bit, the error of out of memory will pop up when testing 10 million data)

Test results of tens of millions of data on my machine:

Testing results of millions of data:

100,000 data test results:

It can be seen that whether to use serial or parallel depends on the amount of data, and the performance of the two is basically close to that of the hundreds of thousands of data. Of course, this result is not fixed. It should be related to the configuration of the machine and the system environment during testing. It should be tested before being determined in actual use.

In addition, I think that when using a project, you should create a class library for external unification, and determine which type of operations should be used internally based on the data volume.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.