PHP5.2.16 and PHP5.4.9 daily performance comparison

Source: Internet
Author: User
Tags e5620
Performance Comparison between PHP5.2.16 and PHP5.4.9 hardware environment: Server: DL180G6 & nbsp; (16 & nbsp; Intel (R) Xeon (R) CPU & nbsp; & nbsp; E5620 & nbsp; @ 2.40 GHz) & nbsp; performance Comparison between nb PHP 5.2.16 and PHP 5.4.9

Hardware environment:

Server: DL180G6 (16 Intel (R) Xeon (R) CPU E5620 @ 2.40 GHz) 16 GB memory

Press: DL180G6 (16 Intel (R) Xeon (R) CPU E5620 @ 2.40 GHz) 16 GB memory

Software environment:

Nginx1.2.5php5.4.9/5.2.16 XCache3.0.0 Max 600php-fpm

Network Environment: Gigabit

Test scenario:

Php has two different versions. when the same hardware and network environment and pressure are configured, the same number of concurrent users send requests to the server. Compare the server resource usage and transaction processing capabilities.

Test results:

Concurrent Users

CPU (us + sy)

Load average

Response time (s)

QPS/s

20

46%

9.2

0.022

950

40

49%

13.4

0.032

890

60

52%

22.8

0.043

860

80

54%

28.3

0.055

840

100

55%

42.1

0.064

820

PHP 5.2.16

Concurrent Users

CPU (us + sy)

Load average

Response time (s)

QPS/s

20

48%

8.7

0.018

1100

40

50%

14.6

0.026

1050

60

54%

21.3

0.036

1010

80

56%

26.3

0.046

998

100

57%

34.7

0.054

1020

PHP 5.4.9

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.