Application program lag detection method and device, medium and electronic equipment
A technology of application programs and detection methods, applied in the computer field, can solve problems such as unresponsiveness, stuck applications, waste of manpower and material resources, etc., and achieve the effect of improving accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] Such as figure 1 As shown, according to the specific implementation manner of the present disclosure, in the first aspect, the present disclosure provides a method for detecting application freezing, which specifically includes the following method steps:
[0030] S102: Detect whether the application program is stuck, and obtain the detection result;
[0031] In this step, the method for detecting whether the application program freezes is a conventional method, which will not be repeated here. In the technical solution of the detection method provided by the embodiment of the present disclosure, as long as the method can detect the freezing phenomenon of the application program, it is included in the technical solution of the detection method provided by the embodiment of the present disclosure.
[0032] S104: When the detection result is that the application program is stuck, collect logs with a label identifying lock holding timeout;
[0033] In a specific applicat...
Embodiment 2
[0098] This embodiment follows embodiment 1, and is used to implement the method steps described in embodiment 1. The explanation based on the same name and meaning is the same as embodiment 1, and has the same technical effect as embodiment 1, which will not be repeated here. combined with figure 2 As shown, according to the specific implementation manner of the present disclosure, in the second aspect, the present disclosure provides an application freeze detection device, including a detection unit 202, a search unit 204, and an analysis unit 206, specifically as follows:
[0099] The detection unit 202 is used to detect whether the application program is stuck, and obtain the detection result;
[0100] The search unit 204 is configured to collect a log with a label that identifies the lock holding timeout when the detection result detected by the detection unit 202 is that the application program is stuck;
[0101] The parsing unit 206 is configured to parse the logs sea...
Embodiment 3
[0126] Such as image 3 As shown, this embodiment provides an electronic device, which is used for a method for detecting application freeze, and the electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; in,
[0127] The memory stores instructions that can be executed by the one processor, and the instructions are executed by the at least one processor, so that the at least one processor can: when the detection result is that the application program is stuck , collect the logs with tags that identify the lock timeout; and analyze the logs to get the reason for the freeze phenomenon in the application; in this way, the cause of the freeze phenomenon in the application can be accurately and quickly analyzed, namely: long-term lock holding logic; improved the accuracy of the application freeze detection method.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


