当前位置:网站首页>How to use JMeter and JProfiler to test and optimize software performance
How to use JMeter and JProfiler to test and optimize software performance
2022-04-21 07:30:00 【KK LUO】
How to test and optimize software performance
- Testing and analysis tools :JMeter & Jprofiler
- First step , With the help of Jprofiler obtain profiler( Measure the running efficiency of the software )
- Single point test , Simulate a single user operation user test Which method calls more frequently
- Create multiple interfaces to access different methods , Simulate concurrency
Testing and analysis tools :JMeter & Jprofiler
Tool is introduced :
1.Jprofiler yes IDEA The plug-in can monitor the operation of the software and grab data
2.JMeter You can start multiple threads to access and simulate concurrent access , Used to access the server 、 Network or object simulating huge load
Therefore, use the combination of the two tools to test the software performance .
How to install Jmeter and jprofiler
One 、 Basic index of performance test
- Business indicators

- System resource index
Resource utilization refers to when the system is under load , database server , application server ,web Server's cpu, Memory , Hard disk , External storage , The utilization rate of network bandwidth , lower than 20% The utilization rate of resources is stable ,60%-80% The utilization rate of indicates that the resource is saturated , exceed 80% The utilization rate of resources must be adjusted and optimized as soon as possible .
First step , With the help of Jprofiler obtain profiler( Measure the running efficiency of the software )
-
CPU Occupancy rate : According to the flame diagram after the test , In the picture of fire , The longer the bars , Represents the more used , From bottom to top is call stack information .

-
according to cpu timeline You can clearly see how frequently an interface is called in this test .

Performance indicators 1:cpu Occupancy rate
Single point test , Simulate a single user operation user test Which method calls more frequently
Create multiple interfaces to access different methods , Simulate concurrency

Ramp-up Period(in seconds) Decide how long to start all threads . If you use 10 Threads ,ramp-up period yes 100 second , that JMeter use 100 Seconds make all 10 Threads up and running . Each thread will start after the previous thread 10 second (100/10) start-up .Ramp-up It needs to be long enough to avoid having too much workload when starting the test , And be small enough that the last thread starts before the first one completes . General Settings ramp-up= Number of threads started , And adjust it up and down to the required .
In this paper, the reference :https://www.cnblogs.com/hjhsysu/p/9189897.html
版权声明
本文为[KK LUO]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204210620350684.html
边栏推荐
- JS不同时间格式转换
- Open platform and its technical architecture
- 21 jours de combat réel caffe 1 - 7 jours notes d'étude 1
- 从零开始搭建一台深度学习服务器及环境配置
- Unity通过反射创建动态类
- VMWare vSphere Failed to create object
- 效率工具|专用截图辅助软件PureRef
- Unity List使用Find或FindAll查找特定元素以及特定元素个数
- Udevd retrieves the kernel module and loads the demo
- 传染病模型进行仿真Matlab(仅做Matlab仿真学习与练习,非实际情况与应用)
猜你喜欢

Fundamentals of graphics | skin rendering

unreal连接MySQL

Build a deep learning server and environment configuration from scratch

Unable to resolve dependency for ':app@debug/compileClasspath': Could not download mapsforge-map.jar

使用Render Texture在UI上显示3D模型动画

21 jours de combat réel caffe 1 - 7 jours notes d'étude 1

利用GoogleColab进行YOLO行人检测计数(YOLOv3+DeepSORT)

虚幻引擎之使用LoadClass加载蓝图类

WordPress plugin - display posts

如何利用JMeter和Jprofiler对软件进行性能测试和优化定位
随机推荐
效率工具|专用截图辅助软件PureRef
Udevd retrieves the kernel module and loads the demo
Fundamentals of graphics | area light rendering based on LTC
利用GoogleColab进行YOLO行人检测计数(YOLOv3+DeepSORT)
教务管理信息系统 一键评价课程脚本
在ensp上配置安全策略
Installing deepstream on TX2
《21天實戰caffe》1-7天學習筆記一
虚幻引擎之多线程渲染机制
MySQL的安装与配置——详细教程
Unreal Engine notes summary (continuously updated...)
Unity List使用Find或FindAll查找特定元素以及特定元素个数
【手部姿态估计】【论文精度】Pose Guided Structured Region Ensemble Network for Cascaded Hand Pose Estimation
如何利用JMeter和Jprofiler对软件进行性能测试和优化定位
PG database cannot use zh_ CN. UTF-8:initdb: error: locale “zh_CN.UTF-8“ requires unsupported encoding “GBK“
One day study notes
idea2021.1在Mapper中写sql出现:Unable to resolve column/table
postgres uuid_generate_v1() does not exist
Fundamentals of graphics | PBR review
浅学cookie注入