@JFinal 你好,想跟你请教个问题:
JFinal 做过压力测试吗, 包括长时间运行下 CPU、内存 资源的使用状况呢?
顶起哈哈~~
abc
apache bxxxx,简称ab
3分钟学会世界上最简单但潜力无限的压力工具-nGrinder: http://www.nhnopensource.org/ngrinder/
用 ab 测的
以下是 JFinal 极速开发群里面的朋友给出的简单测试:
ab -n 20000 -c 100 http://202.114.79.246:8280/portal/login?username=zhangsan&password=123 This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 gt; apache-2.0 Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright 2006 The Apache Software Foundation, http://www.apache.org/ Benchmarking 202.114.79.246 (be patient) Completed 2000 requests Completed 4000 requests Completed 6000 requests Completed 8000 requests Completed 10000 requests Completed 12000 requests Completed 14000 requests Completed 16000 requests Completed 18000 requests Finished 20000 requests Server Software: Apache-Coyote/1.1 Server Hostname: 202.114.79.246 Server Port: 8280 Document Path: /portal/login?username=zhangsan&password=123 Document Length: 2412 bytes Concurrency Level: 100 Time taken for tests: 2.754403 seconds Complete requests: 20000 Failed requests: 0 Write errors: 0 Total transferred: 53053260 bytes HTML transferred: 48252060 bytes Requests per second: 7261.10 [#/sec] (mean) Time per request: 13.772 [ms] (mean) Time per request: 0.138 [ms] (mean, across all concurrent requests) Transfer rate: 18809.52 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 1 2.0 2 9 Processing: 2 11 3.4 11 51 Waiting: 0 5 3.6 5 38 Total: 2 13 3.8 13 53 Percentage of the requests served within a certain time (ms) 50% 13 66% 14 75% 15 80% 15 90% 17 95% 18 98% 19 99% 29 100% 53 (longest request)
ab -n 30000 -c 100 http://202.114.79.246:8280/portal/login?username=zhangsan&password=123 This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 gt; apache-2.0 Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright 2006 The Apache Software Foundation, http://www.apache.org/ Benchmarking 202.114.79.246 (be patient) Completed 3000 requests Completed 6000 requests Completed 9000 requests Completed 12000 requests Completed 15000 requests Completed 18000 requests Completed 21000 requests Completed 24000 requests Completed 27000 requests Finished 30000 requests Server Software: Apache-Coyote/1.1 Server Hostname: 202.114.79.246 Server Port: 8280 Document Path: /portal/login?username=zhangsan&password=123 Document Length: 2412 bytes Concurrency Level: 100 Time taken for tests: 4.336593 seconds Complete requests: 30000 Failed requests: 0 Write errors: 0 Total transferred: 79581216 bytes HTML transferred: 72379296 bytes Requests per second: 6917.87 [#/sec] (mean) Time per request: 14.455 [ms] (mean) Time per request: 0.145 [ms] (mean, across all concurrent requests) Transfer rate: 17920.98 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 2 1.8 2 10 Processing: 1 11 3.3 12 56 Waiting: 0 5 3.4 5 51 Total: 2 13 3.6 14 57 Percentage of the requests served within a certain time (ms) 50% 14 66% 15 75% 15 80% 16 90% 17 95% 18 98% 19 99% 28 100% 57 (longest request)
ab -n 100000 -c 200 http://202.114.79.246:8280/portal/login?username=wangkai&password=123 This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 gt; apache-2.0 Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright 2006 The Apache Software Foundation, http://www.apache.org/ Benchmarking 202.114.79.246 (be patient) Completed 10000 requests Completed 20000 requests Completed 30000 requests Completed 40000 requests Completed 50000 requests Completed 60000 requests Completed 70000 requests Completed 80000 requests Completed 90000 requests Finished 100000 requests Server Software: Apache-Coyote/1.1 Server Hostname: 202.114.79.246 Server Port: 8280 Document Path: /portal/login?username=wangkai&password=123 Document Length: 2411 bytes Concurrency Level: 200 Time taken for tests: 15.194965 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 265219295 bytes HTML transferred: 241208495 bytes Requests per second: 6581.13 [#/sec] (mean) Time per request: 30.390 [ms] (mean) Time per request: 0.152 [ms] (mean, across all concurrent requests) Transfer rate: 17045.32 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 10 147.1 3 3019 Processing: 1 18 7.0 18 228 Waiting: 0 8 6.7 8 220 Total: 4 29 147.4 21 3047 Percentage of the requests served within a certain time (ms) 50% 21 66% 24 75% 26 80% 27 90% 30 95% 33 98% 37 99% 43 100% 3047 (longest request)
哈哈~
先拿女友去解压,然后自己再压
是先拿女友做压力测试去了吧
做过压力测试,我女朋友现在要我出去散步,晚些再回答你
谢谢。 有没有 long run 的报告呢。。
回复暂时没有。由一 JFinal 是对 servlet 的极薄封装,所以性能理论上来说接近纯 Servlet :)
也许测试结果不理想,还要继续重复呢~~~
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(15)
顶起哈哈~~
abc
apache bxxxx,简称ab
3分钟学会世界上最简单但潜力无限的压力工具-nGrinder: http://www.nhnopensource.org/ngrinder/
用 ab 测的
以下是 JFinal 极速开发群里面的朋友给出的简单测试:
哈哈~
先拿女友去解压,然后自己再压
是先拿女友做压力测试去了吧
做过压力测试,我女朋友现在要我出去散步,晚些再回答你
谢谢。 有没有 long run 的报告呢。。
回复
暂时没有。由一 JFinal 是对 servlet 的极薄封装,所以性能理论上来说接近纯 Servlet :)
以下是 JFinal 极速开发群里面的朋友给出的简单测试:
也许测试结果不理想,还要继续重复呢~~~
做过压力测试,我女朋友现在要我出去散步,晚些再回答你