grails0.22压力测试

grails0.3终于发布了,不过好像改了很多东西,正在看文档.
grails0.22的压力测试报告
CPU: Pentium 2.66G D
OS:WindowsXP
JDK:1.5.0_07-b03
AppServer: Tomcat 5.5
DB:Mysql 5.0.22
可能服务器只买一台,所以测试的时候数据库服务器和web服务器放一起的
request per second 大约是16, 客户端开100个线程.
每个页面的sql大约是10-20,数据库的数据少量,全部采用分页.
tomcat的thread大约是100,最大内存是500M,机器内存是512M,运行时候内存稳定在670M左右.
CPU占用率是100%[这个没办法,数据库和web服务器放一起],每个页面完成时间大约是2-5s.

[code]Web Application Stress Tool Version:1.1.293.1

Number of test clients: 1

Number of hits: 5126
Requests per Second: 17.09

Socket Statistics
--------------------------------------------------------------------------------
Socket Connects: 7097
Total Bytes Sent (in KB): 1790.19
Bytes Sent Rate (in KB/s): 5.97
Total Bytes Recv (in KB): 71989.15
Bytes Recv Rate (in KB/s): 239.96

Socket Errors
--------------------------------------------------------------------------------
Connect: 0
Send: 0
Recv: 0
Timeouts: 0

RDS Results
--------------------------------------------------------------------------------
Successful Queries: 0

Script Settings
================================================================================
Server: server
Number of threads: 100

Test length: 00:05:00
Warmup: 00:00:00
Cooldown: 00:00:00

Use Random Delay: Yes
Min Delay Time: 0
Max Delay Time: 3000

Follow Redirects: Yes
Max Redirect Depth: 30

Clients used in test
================================================================================
localhost

Clients not used in test
================================================================================

Result Codes
Code Description Count
================================================================================
200 OK 5126

Page Summary
Page Hits TTFB Avg TTLB Avg Auth Query
================================================================================
GET /rw/base/loginAll 369 2452.69 2452.69 No No
GET /rw/information/home 365 5123.72 5154.94 No No
GET /rw/information/showCat/1 351 3133.90 6419.70 No No
GET /rw/information/showCat/2 339 2882.94 6218.54 No No
GET /rw/information/showCat/3 328 3134.97 7031.73 No No
GET /rw/information/showCat/8 324 3045.27 3045.63 No No
GET /rw/information/showCat/9 320 3213.80 3214.14 No No
GET /rw/information/showCat/10 318 3265.87 3266.26 No No
GET /rw/userResume/handlePerso 312 5540.86 5580.46 No No
GET /rw/userResume/showUserRes 308 4479.56 4494.86 No No
GET /rw/userResume/searchWantA 300 3983.56 3988.89 No No
GET /rw/companyUser/home 298 173.18 3488.33 No No
GET /rw/insideJobUser/home 291 126.57 3712.41 No No
GET /rw/cooperativeUser/home 286 71.25 3732.51 No No
GET /rw/information/showCat/6 311 3055.65 3061.80 No No
GET /rw/information/showCat/7 306 2919.74 2920.11 No No [/code]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值