Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The reason why there is a big difference in the results of LoadRunner running the same script twice

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

If the same script is run twice, the results are very different. The response time of the latter time is much slower than that of the previous one, and the development has not modified the program to troubleshoot the problem:

1. Check the linux memory utilization free-m is to check the memory situation (usually 10% of the available memory is within the acceptable range) if the available memory is very small: one may be that there is something wrong with the program: the other is that the disk space is insufficient and the memory will be written when the disk space is insufficient.

two。 You can first see whether the second case is true: command tf-m to check the disk space and see that the disk space is zero.

3. To see which process takes up so much, it's best to analyze it through the log log. Be sure to confirm the log log level before running the performance test script. if you set debug, the program will continue to write logs, affecting the performance test results are usually set to error level, of course, if you run the script again, the results cannot be exactly the same. It is generally acceptable that the time difference is less than 100ms.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report