Response time measurement method and terminal
A response time and terminal technology, applied in the field of data processing, can solve the problems of consuming large system resources, unbalanced response time accuracy and measurement efficiency, and large application response time, achieving high efficiency, high accuracy, and improved accuracy Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0073] This embodiment provides a method for measuring response time, including:
[0074] S1. Obtain the time point at which the interface rendering operation is triggered, and obtain the start time point.
[0075] Optionally, the time point at which an application program receives the click operation is obtained to obtain the start time point.
[0076] Wherein, the response time to be measured in this embodiment is the time from when the user operation request is issued to when the rendering of the UI interface is finished. The time when the user operation request is sent can be automatically monitored and recorded by the automated script, and the time point when the user performs the click operation or the touch operation, that is, the start time point.
[0077] S2. Monitor the drawing end function in real time, and record the time point when the drawing end function is called, and obtain a set of calling time points.
[0078] Wherein, to realize the real-time monitoring d...
Embodiment 2
[0085] This embodiment provides a method for measuring response time, including:
[0086] S1. Obtain the time point at which the interface rendering operation is triggered, and obtain the start time point.
[0087] Optionally, the time point at which an application program receives the click operation is obtained to obtain the start time point.
[0088] S2. Monitor the drawing end function in real time, and record the time point when the drawing end function is called, and obtain the set of calling time points; specifically:
[0089] S21, preset monitoring area;
[0090] S22. Monitor the drawing end function in real time. If the drawing area corresponding to the currently called drawing end function matches the monitoring area, record the time point when the drawing end function is called to obtain a set of calling time points.
[0091] S3. If the drawing area corresponding to the called drawing end function does not match the preset monitoring area within the preset time in...
Embodiment 3
[0097] S1. Obtain the time point at which the interface rendering operation is triggered, and obtain the start time point.
[0098] S2. Monitor the drawing end function in real time, and record the time point when the drawing end function is called, and obtain a set of calling time points.
[0099] S3, preset interface rendering times;
[0100] Real-time monitoring of drawing end function,
[0101] Sm. Obtain the element with the largest value in the call time point set to obtain the latest call time point;
[0102] Sn. If the call of the drawing end function is not monitored within the preset time interval from the latest call time point, the actual interface rendering times are increased by one;
[0103] Repeat steps Sm to Sn until the actual interface rendering times are equal to the preset interface rendering times;
[0104] It is not monitored that the drawing end function is called within the preset time interval.
[0105] Among them, no matter how complicated the UI...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


