Comparison of computing time in linux and xp

Source: Internet
Author: User
Comparison of computing time in linux and xp-general Linux technology-Linux programming and kernel information. The following is a detailed description. I have heard that the computing efficiency in linux is high, so many large programs are generally used in linux. Recently, I also specifically used a small program to compare the efficiency of the two.

My linux is FC9, which is a relatively new linux version. It can be automatically mounted to the xp hard disk. I used the man command to view the compilation of g ++ and c ++, which means that c ++ files can be compiled smoothly.

I used VC6 compilation in xp, a product of Microsoft. It is very useful for writing application software, but it is average for numerical computing, but I am not quite sure which compiler has a good compilation for the value. vc6 is generally used.

I wrote a small program in which there is a simple cyclic superposition of 10000000. I used int and double types for experiments respectively. I found that these two types of computing in linux are very efficient. The computing time for linux and xp is about, which is not a decimal number. It seems that the computing efficiency of linux is high! But I just implemented a for loop. I didn't use other complicated programs. Maybe they are similar in terms of application software?
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.