Method and apparatus for obtaining loading time length of image in webpage, and electronic device
AssigneeBeijing Bytedance Network Technology Co., Ltd.
InventorGuohui Yin
Life of this patent
Estimating the term…
Loading patent…
AssigneeBeijing Bytedance Network Technology Co., Ltd.
InventorGuohui Yin
Estimating the term…
Provided are a method and an apparatus for obtaining a loading time length of an image in a webpage, and an electronic device. The method includes: obtaining, during loading of a Hypertext Markup Language HTML file of the webpage, event tracking data through event tracking that is set in the HTML file, wherein the event tracking data includes loading start time of the HTML file; obtaining a timestamp of a loading end event of the image in the webpage, and determining the loading time length of the image based on the loading start time and the timestamp. The method can obtain the loading time length of the image in the webpage, facilitate the detection of the loading time length of the image, and provide data support for realizing the analysis of the webpage service quality based on the loading time length of the image and improving the webpage service quality.
A method for obtaining a loading time length of an image in a webpage, comprising:
An apparatus for obtaining a loading time length of an image in a webpage, comprising:
An electronic device, comprising:
Dependencies are inferred from the claim text.