Home >Backend Development >PHP Tutorial >PHP and JSP stage a super detailed performance test PK (1)_PHP tutorial

PHP and JSP stage a super detailed performance test PK (1)_PHP tutorial

WBOY
WBOYOriginal
2016-07-22 09:02:10873browse

There are many performance comparisons between PHP and JSP on the Internet. Some results show that the performance of PHP is much lower than that of JSP. This article will objectively show the performance test comparison of PHP and JSP, and all are real data. Of course, this does not include .Net.

Test environment:

◆Hardware: P4 2.4G, 1G memory

◆Software: WindowsXP+Apache2.0.54+PHP4.4.0+Mysql4.1.14+Tomcat5.0.28

1. Arithmetic operations

a. Test standard

Loop N times and perform integer auto-add operations.

b. Test code


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/445870.htmlTechArticleThere are many performance comparisons between PHP and JSP on the Internet. Some results show that the performance of PHP is much lower than that of JSP. This article Objectively show the performance test comparison of PHP and JSP, and all are real data. Of course...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn