帮助中心

性能测试

发布日期:2013-04-02 发布人:


      本测试结果只能作为参考,不能说明具体问题。因为这跟很多因素有关,虽然是同一台机器同一个环境,但是程序不完全相同。

1.爱站CMS

E:\wamp\bin\apache\apache2.2.22\bin>ab-n1000-c50 http://www.cms.com/admin/admin/index/init?menuid=3

This is ApacheBench, Version 2.3 <$Revision: 655654 $>

Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/

Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking www.cms.com (be patient)

Completed 100 requests

Completed 200 requests

Completed 300 requests

Completed 400 requests

Completed 500 requests

Completed 600 requests

Completed 700 requests

Completed 800 requests

Completed 900 requests

Completed 1000 requests

Finished 1000 requests

Server Software:        Apache/2.2.22

Server Hostname:        www.cms.com

Server Port:            80

Document Path:          /admin/admin/index/init?menuid=3

Document Length:        3208 bytes

Concurrency Level:      50

Time taken for tests:   9.912 seconds

Complete requests:      1000

Failed requests:        0

Write errors:           0

Non-2xx responses:      1000

Total transferred:      3645000 bytes

HTML transferred:       3208000 bytes

Requests per second:    100.89 [#/sec] (mean)

Time per request:       495.600 ['ms'] (mean)

Time per request:       9.912 ['ms'] (mean, across all concurrent requests)

Transfer rate:          359.12 [Kbytes/sec] received

Connection Times (ms)

              min  mean[+/-sd] median   max

Connect:        0    0   0.3      0       1

Processing:    23  484  62.4    491     597

Waiting:       23  483  62.4    490     597

Total:         23  484  62.4    491     597

Percentage of the requests served within a certain time (ms)

  50%    491

  66%    498

  75%    505

  80%    508

  90%    520

  95%    532

  98%    548

  99%    553

 100%    597 (longest request)

E:\wamp\bin\apache\apache2.2.22\bin>

    以上结果指出,在并发50个请求的情况下,完成1000次的访问请求,共花了9.912秒,这个程序每秒可处理100.89个请求。

2. php cms

E:\wamp\bin\apache\apache2.2.22\bin>ab-n1000-c50 http://phpcms.b2b.mainone.c

n/index.php?m=member&c=member&a=manage&menuid=72&pc_hash=alUkF4

This is ApacheBench, Version 2.3 <$Revision: 655654 $>

Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/

Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking phpcms.b2b.mainone.cn (be patient)

Completed 100 requests

Completed 200 requests

Completed 300 requests

Completed 400 requests

Completed 500 requests

Completed 600 requests

Completed 700 requests

Completed 800 requests

Completed 900 requests

Completed 1000 requests

Finished 1000 requests

Server Software:        Apache/2.2.22

Server Hostname:        phpcms.b2b.mainone.cn

Server Port:            80

Document Path:          /index.php?m=member

Document Length:        2546 bytes

Concurrency Level:      50

Time taken for tests:   12.960 seconds

Complete requests:      1000

Failed requests:        0

Write errors:           0

Total transferred:      2788000 bytes

HTML transferred:       2546000 bytes

Requests per second:    77.16 [#/sec] (mean)

Time per request:       648.000 ['ms'] (mean)

Time per request:       12.960 ['ms'] (mean, across all concurrent requests)

Transfer rate:          210.08 [Kbytes/sec] received

Connection Times (ms)

              min  mean[+/-sd] median   max

Connect:        0    0   0.5      0       2

Processing:    91  643 211.2    592    1806

Waiting:       90  636 207.9    589    1796

Total:         92  644 211.2    592    1806

Percentage of the requests served within a certain time (ms)

  50%    592

  66%    646

  75%    712

  80%    762

  90%    885

  95%   1036

  98%   1290

  99%   1504

 100%   1806 (longest request)

 

E:\wamp\bin\apache\apache2.2.22\bin>

    以上结果指出,在并发50个请求的情况下,完成1000次的访问请求,共花了12.960秒,这个程序每秒可处理77.16个请求。

3.DEDE CMS

E:\wamp\bin\apache\apache2.2.22\bin>ab -n 1000 -c 50 http://dede.b2b.mainone

dede/content_list.php

This is ApacheBench, Version 2.3 <$Revision: 655654 $>

Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/

Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking dede.b2b.mainone.cn (be patient)

Completed 100 requests

Completed 200 requests

Completed 300 requests

Completed 400 requests

Completed 500 requests

Completed 600 requests

Completed 700 requests

Completed 800 requests

Completed 900 requests

Completed 1000 requests

Finished 1000 requests

Server Software:        Apache/2.2.22

Server Hostname:        dede.b2b.mainone.cn

Server Port:            80

Document Path:          /dede/content_list.php

Document Length:        0 bytes

Concurrency Level:      50

Time taken for tests:   10.085 seconds

Complete requests:      1000

Failed requests:        0

Write errors:           0

Non-2xx responses:      1000

Total transferred:      448000 bytes

HTML transferred:       0 bytes

Requests per second:    99.16 [#/sec] (mean)

Time per request:       504.250 ['ms'] (mean)

Time per request:       10.085 ['ms'] (mean, across all concurrent requests)

Transfer rate:          43.38 [Kbytes/sec] received

Connection Times (ms)

              min  mean[+/-sd] median   max

Connect:        0    0   0.5      0       1

Processing:    35  498 163.4    454    1496

Waiting:       35  494 158.9    452    1496

Total:         35  498 163.4    455    1496

Percentage of the requests served within a certain time (ms)

  50%    455

  66%    490

  75%    529

  80%    561

  90%    688

  95%    847

  98%    980

  99%   1093

 100%   1496 (longest request)

E:\wamp\bin\apache\apache2.2.22\bin>

以上结果指出,在并发50个请求的情况下,完成1000次的访问请求,共花了10.085秒,这个程序每秒可处理99.16个请求。