Loading time calculation method and device, computer equipment and storage medium
A technology of loading time and calculation method, which is applied in the field of computer networks, can solve the problems of single evaluation results and neglect of loading time, and achieve the effect of accurate performance evaluation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] figure 1 It is a schematic diagram of a flow chart of a loading time calculation method in Embodiment 1 of the present invention. This embodiment is applicable to the case of calculating the loading time of the home page of an application after the application is started and running. This method can be implemented by the present invention The loading time calculation device provided in the embodiment is implemented, and the device can be implemented by software and / or hardware, and generally can be integrated into computer equipment, such as terminal equipment, etc., and more specifically, a client of a mobile terminal. Such as figure 1 As shown, the method of this embodiment specifically includes:
[0027] S110, during the page loading process, acquire the loading start time of the preset module.
[0028] A page may refer to a page of an application. The preset module is used to determine the starting moment of page loading, which may refer to the function program l...
Embodiment 2
[0057] Figure 2a It is a flow chart of a loading time calculation method in Embodiment 2 of the present invention. This embodiment is embodied on the basis of the above embodiments, and the two time-adjacent page images are compared respectively, and is embodied as : After the page loading is completed, from the at least two intercepted page images, respectively calculate the similarity between two temporally adjacent page images; if the similarity between two temporally adjacent target page images If the similarity exceeds a preconfigured similarity threshold, it is determined that the comparison result of the two target page images is the same result.
[0058] The method of this embodiment specifically includes:
[0059] S210, during the page loading process, acquire the loading start time of the preset module.
[0060] For the page, preset module, loading start time, screenshot, page image, change stability condition, target page image, screenshot time, loading end time ...
Embodiment 3
[0095] image 3 It is a schematic diagram of a loading time calculation device in Embodiment 3 of the present invention. Embodiment 3 is a corresponding device for realizing the loading time calculation method provided by the above embodiments of the present invention. The device can be implemented in the form of software and / or hardware, and can generally be integrated into computer equipment, such as terminal equipment, etc. Specifically, Mobile phones, tablets, or car devices, etc.
[0096] Correspondingly, the device of this embodiment may include:
[0097] The loading start time obtaining module 310 is used to obtain the loading start time of the preset module during the page loading process;
[0098] The screenshot comparison module 320 is configured to take screenshots of the pages at different times from the loading start moment, and compare two time-adjacent page images respectively;
[0099] The loading end time determining module 330 is used to determine the targ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


