A comparison article on. NET and PHP

Source: Internet
Author: User
I personally think this article is not credible, and there are many unreasonable points. for example, ASP. NET is also very fast in linux? How to test it? Virtual machine? Or components? What database is used for connection test between mysql and SQLsever? PDO? Or others? For this article

I personally think this article is not credible, and there are many unreasonable points. for example, ASP. NET is also very fast in linux? How to test it? Virtual machine? Or components? What database is used for connection test between mysql and SQLsever? PDO? Or others? I am skeptical about this article! This article also appeared in a well-known domestic PHP portal home page, which is incredible.

The original article is as follows:

Recently, Microsoft's senior software engineer made a question about PHP and ASP. NET comparison of unofficial benchmark testing, for the results shown in this test in ASP. NET and PHP have aroused heated discussions.

Almost three years ago, Microsoft and PHP started to show each other. at that time, Microsoft cooperated with PHP manager Zend Technologies to optimize Microsoft's Windows Server and IIS (Internet Information Services) for PHP ). With Microsoft releasing the second beta version of the PHP software development kit for the Windows Azure cloud service platform, the partnership between the two companies has been further deepened.

Last week, Joe Stagner, a senior program manager for Microsoft's development tools and platform group, published his benchmark test results. This benchmark is intended to explore the running status of ASP. NET and PHP code in Linux and Windows environments. Although the test benchmark has not yet been recognized by Microsoft, Stagner said the test result was indeed unexpected.

The test result shows:

1. ASP. NET is generally faster than PHP (whether based on Windows or Linux), except for file replication and attribute modification.

2. in Linux, the access speed of PHP-based MySQL is slightly faster than that of SQL Server in Windows (assuming that common data types and selection commands are used)

3. operations in ASP. NET (C #), object usage, library calls, and so on are much faster than their corresponding in PHP.

4. in PHP, RAW command execution and function calling are both faster in Windows than in Linux.

Although some critics doubt the objectivity of Stanner, he insisted that the test was not biased towards Microsoft. "I didn't say 'asp. NET is faster, so don't use php '." He wrote in a blog post, "but I have always asserted that some friendly simplification in PHP will be short for him in advanced applications ."

Some people have criticized that the result of Stagner may be private because he is working for Microsoft. But Stagner denies this: "Unlike those that inevitably call me" Microsoft's child care ", I did this test because I wanted to know the truth ."

 

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.