当前位置:网站首页>Performance test (I)
Performance test (I)
2022-06-22 21:02:00 【A snail at the end of a pyramid】
Catalog
Why performance testing
- Whether the application can quickly respond to user requirements .
- Whether the application can handle the expected user load and has surplus capacity
- Whether the application can handle the number of transactions required by the business
- Under expected and unexpected user loads , Whether the application is stable
- Whether it can ensure that users get a comfortable experience when using the software .
What does performance testing focus on
- Number of concurrent users / throughput
- Mean response time
- Server occupancy
- reliability 、 Extensibility
- soft 、 Whether the hardware configuration is appropriate
Who cares about performance
(1) Developer
- System architecture : Is the architecture design reasonable
- Database design : Whether there are problems in database design
- Code : Is there a performance problem in the code , Whether the system has unreasonable memory usage
- Design and code : Whether there is unreasonable thread synchronization and unreasonable resource competition in the system
(2) System manager
- Resource utilization : Is the usage of application server and database resources reasonable
- System capacity : How many users can the system support at most , What is the maximum business processing capacity of the system
- system stability : Does the system support 7*24 Hours of business access
(3) user
- response time : For one web For the website , The general standard principle is 3/5/8
- system stability : Whether the system is stable during operation
(4) Business people
How to provide parameters to users , for example : How many users are supported to use 、 What's the response time
(5) Testers
All the above levels should be concerned about .
Concept
Number of concurrent users
(1) Number of concurrent users in a narrow sense : At the same time , Use the same function of the system ( Send a request ) Of users .
(2) Generalized number of concurrent users : At the same time , Put pressure on the server ( Send a request ) Of users .( It can be different functions )
response time (RT)/ Mean response time (ART)
The time between the user sending the request and the expected result .
Transaction response time (TRT)
A transaction is a collection of closely related operations .
The time taken by the server to process a transaction .
Number of transactions passed per second (TPS)
TPS Is the number of transactions that the system can process per second
Click through rate
Number of messages sent to the server per second HTTP Number of requests .
throughput ( Throughput rate )
The amount of information processed by the server per unit time .
Resource utilization
Usage of different system resources . contain CPU, Memory , Hard disk , Network, etc .
Performance test categories
The benchmark
Test the performance of a new system , Record all performance indicators , As a benchmark for subsequent performance tests .
The load test
Capacity the system , Increasing the load on the system ( The number of users ), See how much user load the system can bear , See whether the system has reached the required performance indicators .
pressure ( Strength ) test
To find out the performance bottleneck of the system , And the causes of system performance bottlenecks .
Generally, the user load of the system reaches saturation and runs for a long time , Check whether the system resource allocation is reasonable 、 Synchronization problem 、 Memory leak 、 Check the reason .
Configuration testing
By testing different application servers , The network environment , Different parameter settings of the database , Different hardware devices , Check the performance of the system , Find out the best and most reasonable resource allocation .
Reliability test
Run the system for a long time , View the performance indicators of the system ( response time 、TPS、 Click through rate 、 throughput 、 Resource utilization ) Is stable .
边栏推荐
- 慕课6、实现负载均衡-Ribbon
- 78-生产系统不改代码解决SQL性能问题的几种方法
- Oracle system/用户被锁定的解决方法
- R 语言nutrient数据集的可视化
- 84-我对网传<52 条 SQL 语句性能优化策略>的一些看法
- Dynamicdatabasesource, which supports the master-slave database on the application side
- 一行代码为特定状态绑定SwiftUI视图动画
- Alibaba cloud video on demand playback error, console access code:4400
- 深度学习常用损失函数总览:基本形式、原理、特点
- 字节跳动提出轻量级高效新型网络MoCoViT,在分类、检测等CV任务上性能优于GhostNet、MobileNetV3!...
猜你喜欢

迅睿CMS 自定义数据接口-php执行文件代码

NumPy学习笔记(六)——sum()函数

EasyClick 固定状态日志窗口

R language airpassengers dataset visualization

【513. 找树左下角的值】

The road to systematic construction of geek planet business monitoring and alarm system

Emotion analysis with RNN & CNN pytorch

字节跳动提出轻量级高效新型网络MoCoViT,在分类、检测等CV任务上性能优于GhostNet、MobileNetV3!...

从感知机到Transformer,一文概述深度学习简史

EasyDSS问题及解决方案汇总
随机推荐
支持在 Kubernetes 运行,添加多种连接器,SeaTunnel 2.1.2 版本正式发布!
pytorch的模型保存加载和继续训练
How to calculate the Gini coefficient in R (with examples)
R 语言USArrests 数据集可视化
R 语言 wine 数据集可视化
超快变形金刚 | 用Res2Net思想和动态kernel-size再设计 ViT,超越MobileViT
75-当left join遇到子查询
采用网络远程访问树莓派。
字节跳动提出轻量级高效新型网络MoCoViT,在分类、检测等CV任务上性能优于GhostNet、MobileNetV3!...
Oracle system/用户被锁定的解决方法
Visualization of R language nutrient dataset
理财产品在双休日可以赎回吗?
Easyclick fixed status log window
模拟串口UART的实现
怎样实现网页端im即时通讯中的@人功能
70-根因分析-oracle数据库突发性能问题,谁来背这个锅
Oh, my God, it's a counter attack by eight part essay
R语言AirPassengers数据集可视化
【513. 找树左下角的值】
Introduction to JWT