Performance monitoring method and device

The invention discloses a performance monitoring method and device, and relates to the technical field of computers. A specific embodiment of the method comprises the steps of obtaining data in a pageloading process through a performance monitoring interface provided by a browser; classifying the da...

Full description

Saved in:
Bibliographic Details
Main Authors ZHAO YUE, SHI GAOXIANG, SU HAOXIN
Format Patent
LanguageChinese
English
Published 02.02.2021
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention discloses a performance monitoring method and device, and relates to the technical field of computers. A specific embodiment of the method comprises the steps of obtaining data in a pageloading process through a performance monitoring interface provided by a browser; classifying the data according to the resource type to identify interface data; acquiring loading time correspondingto the interface data, and sending the interface data and the corresponding loading time based on the delay reporting parameter of the page loading completion event. Therefore, the implementation modeof the invention can solve the problems of high coupling of the monitoring code and the service code and time and labor consumption of service development. 本发明公开了性能监控的方法和装置,涉及计算机技术领域。该方法的一具体实施方式包括通过浏览器提供的性能监控接口,获取在页面加载过程中的数据;根据资源类型对数据进行归类,以识别接口数据;获取接口数据对应的加载时间,并基于页面加载完成事件的延时上报参数,发送接口数据及其对应的加载时间。从而,本发明的实施方式能够解决监控代码和业务代码高度耦合,以及业务开发耗时耗力的问题。
Bibliography:Application Number: CN201910706557