Kohana3.3.2 vs CodeIgniter2.2.0

2014-09-18  本文已影响0人  停用了

两个框架在同一台机器上测试,配置如下:

2.4GHz Intel Core 2 Duo + 4G内存

测试命令:

ab -c 100 -n 30000 -H "Connection: close" "http://www.test.com/"

两个框架都是默认的helloworld,输入如下:

Kohana:

Server Software: Apache/2.2.26

Server Hostname: www.test.com

Server Port: 80

Document Path: /

Document Length: 13 bytes

Concurrency Level: 100

Time taken for tests: 242.361 seconds

Complete requests: 30000

Failed requests: 0

Write errors: 0

Total transferred: 7530000 bytes

HTML transferred: 390000 bytes

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

Time per request: 807.870 [ms] (mean)

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

Transfer rate: 30.34 [Kbytes/sec] received

Connection Times (ms)

min mean[+/-sd] median max

Connect: 0 79 114.8 4 797

Processing: 14 728 242.4 690 2767

Waiting: 2 681 221.1 660 2683

Total: 14 807 243.6 787 2816

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

50% 787

66% 872

75% 918

80% 951

90% 1043

95% 1192

98% 1428

99% 1697

100% 2816 (longest request)

CodeIgniter:

Server Software: Apache/2.2.26

Server Hostname: www.test.com

Server Port: 80

Document Path: /

Document Length: 1925 bytes

Concurrency Level: 100

Time taken for tests: 173.534 seconds

Complete requests: 30000

Failed requests: 0

Write errors: 0

Total transferred: 64500000 bytes

HTML transferred: 57750000 bytes

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

Time per request: 578.446 [ms] (mean)

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

Transfer rate: 362.97 [Kbytes/sec] received

Connection Times (ms)

min mean[+/-sd] median max

Connect: 0 38 72.0 2 552

Processing: 12 540 157.8 553 1586

Waiting: 0 514 172.5 534 1584

Total: 18 578 155.6 595 1739

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

50% 595

66% 632

75% 657

80% 680

90% 752

95% 804

98% 907

99% 1006

100% 1739 (longest request)

上一篇下一篇

猜你喜欢

热点阅读