Method for measuring initial screen time of webpage

A first-screen time and first-screen technology, which is applied in the field of measuring the first-screen time of web pages, can solve the problems of measurement accuracy error, operation consumes a lot of memory and CPU, and affects browser performance, so as to improve measurement efficiency, improve measurement accuracy and Efficiency, improved visual compatibility and effects of measurement efficiency

Inactive Publication Date: 2013-09-25
润桐(苏州)技术服务有限公司
View PDF0 Cites 21 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 ma

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 initial screen time of webpage
  • Method for measuring initial screen time of webpage
  • Method for measuring initial screen time of webpage

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 based on rendering engine events for calculating the initial screen time of a webpage. The method comprises the following steps of capturing a rendering event of the rendering engine of a browser through a special method, obtaining current state information of the webpage in the rendering event through a DOM (document object model) method, if the webpage state is not smaller than a special state, proceeding to the next step, and if the webpage state is smaller than a special state, returning to capturing; obtaining a webpage actual height in the browser rendering events through the DOM method, if the webpage actual height is not smaller than the height of an initial screen area, proceeding to the next step, and if the webpage actual height is smaller than the height of the initial screen area, returning to the capturing; obtaining the range of a current rendering area in the rendering events of the browser, if the current rendering area is within an initial screen range, proceeding to the next step, and if the current rendering area is not within the initial screen range, returning to the capturing; and obtaining a screen image of the current webpage and judging whether the initial screen of the webpage is filled up, if not, continuing to monitor the rendering events of the rendering engine, and if so, recording the numerical value of the initial screen time and stopping capturing the rendering events of the rendering engine of the browser.

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
IPC IPC(8): G06F9/46G06F17/30
Inventor 黄家旺
Owner 润桐(苏州)技术服务有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products