|
@@ -119,7 +119,7 @@ public class IotCommunication { |
|
|
if (reqCount == 10000) { |
|
|
if (reqCount == 10000) { |
|
|
long appPassTime = (new DateTime()).getTime(); |
|
|
long appPassTime = (new DateTime()).getTime(); |
|
|
log.info("10000请求用时秒数:" + (appPassTime-appStartTime)/1000); |
|
|
log.info("10000请求用时秒数:" + (appPassTime-appStartTime)/1000); |
|
|
log.info("用时超过2秒次数:" + reqLongCount); |
|
|
|
|
|
|
|
|
log.info("用时超过1000毫秒次数:" + reqLongCount); |
|
|
log.info("平均每次请求用时(毫秒):" + allOfManTime/10000); |
|
|
log.info("平均每次请求用时(毫秒):" + allOfManTime/10000); |
|
|
reqCount = 0; |
|
|
reqCount = 0; |
|
|
allOfManTime = 0; |
|
|
allOfManTime = 0; |
|
|