Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for measuring webpage first screen time

A first-screen time and first-screen technology, which is applied in the field of measuring the first-screen time of webpages, can solve problems affecting browser performance, measurement accuracy errors, operation memory and CPU consumption, etc., to improve visual compatibility and measurement efficiency, The effect of improving measurement efficiency, improving measurement accuracy and efficiency

Active Publication Date: 2014-05-07
NETWORKBENCH SYST
View PDF4 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The above method has the following disadvantages: (1) This method is triggered based on a timer. The highest precision of the timer on the windows system is 55ms, and there is a certain error in the measurement accuracy; (2) The operation of obtaining the screen image consumes memory Compared with the CPU, high-frequency acquisition of screen images will affect the performance of the browser process on machines with relatively low hardware configuration, that is, the introduction of monitoring will lead to a large deviation between the measurement results and the actual; (3) In addition, this method does not consider the page Influenced by the background color and user-defined windows appearance color, the measurement results on some special pages may be inconsistent with the user's naked eye observation results

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for measuring webpage first screen time
  • Method for measuring webpage first screen time
  • Method for measuring webpage first screen time

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The method of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0032] The present invention provides a low consumption, high efficiency, high time accuracy, and high visual compatibility performance index calculation method for measuring the first screen time of a page. The present invention is applicable to the performance index calculation of the first screen time of all current mainstream browsers Computing, wherein including IE, firefox, chrome, safari, opera browser, the present invention will be described in further detail below in conjunction with accompanying drawing.

[0033] In the present invention, the measurement software is attached to the browser process in the form of an extension or the browser control is loaded into the measurement software process in the form of a host.

[0034] Step (1) Capture the rendering event of the browser rendering engine through a specific method.

[0035] When the IE b...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for computing webpage first screen time based on a render engine event. The method comprises the steps that a render event of a render engine of a browser is captured through a specific method, current status information of a webpage is obtained in the render event through a DOM method, the step is continuously executed if the webpage status is not smaller than the special status, and capture is executed again if the webpage status is smaller than the special status; the actual height of the webpage is obtained in the render event of the browser through the DOM method, the step is continuously executed if the actual height of the webpage is not smaller than the height of a first screen area, and capture is executed again if the actual height of the webpage is smaller than the height of the first screen area; the range of the current render area is obtained in the render event of the browser, the step is continuously executed if the current render area is within the first screen range, and capture is executed again if the current render area is not within the first screen range; a screen image of the current webpage is obtained, whether a webpage first screen is filled or not is judged according to the screen image, if not, the render event of the render engine continues to be monitored, and if yes, the time value of the first screen is recorded, and capture of the render event of the render engine of the browser is stopped.

Description

technical field [0001] The invention belongs to the field of automated testing, and in particular, the invention relates to a method for measuring the first screen time of a webpage, which can be applied to a browser rendering engine, automated testing of page loading performance or performance monitoring. Background technique [0002] The user's access to the website is realized based on the webpage obtained by the browser. Usually, after a website page is fully loaded, the total page height ranges from one screen to more than a dozen screens, and the total loading time is much longer than the loading time of the first screen content. From the perspective of user experience, the first screen time is an important factor in the user's experience of a website's loading performance. When the page fills the above-the-fold area, users can see the content and perform operations such as clicking and scrolling without having to wait until all the content is loaded. Therefore, the ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44G06F17/30
Inventor 甄志会
Owner NETWORKBENCH SYST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products