CN113688022A - Browser performance monitoring method, device, equipment and medium - Google Patents

Browser performance monitoring method, device, equipment and medium Download PDF

Info

Publication number
CN113688022A
CN113688022A CN202110972832.XA CN202110972832A CN113688022A CN 113688022 A CN113688022 A CN 113688022A CN 202110972832 A CN202110972832 A CN 202110972832A CN 113688022 A CN113688022 A CN 113688022A
Authority
CN
China
Prior art keywords
performance monitoring
user
browser
monitoring data
page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110972832.XA
Other languages
Chinese (zh)
Inventor
张华兵
叶思斯
曹小明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Southern Power Grid Co Ltd
Southern Power Grid Digital Grid Research Institute Co Ltd
Original Assignee
China Southern Power Grid Co Ltd
Southern Power Grid Digital Grid Research Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Southern Power Grid Co Ltd, Southern Power Grid Digital Grid Research Institute Co Ltd filed Critical China Southern Power Grid Co Ltd
Priority to CN202110972832.XA priority Critical patent/CN113688022A/en
Publication of CN113688022A publication Critical patent/CN113688022A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3438Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions

Abstract

The application relates to the technical field of application software, and provides a browser performance monitoring method and device, computer equipment and a storage medium. The method comprises the following steps: the method comprises the steps of sending a target page embedded with a browser probe to a user browser by obtaining a page access request sent by the user browser, obtaining performance monitoring data of the target page loaded by the user browser through the browser probe, and obtaining a performance monitoring result of the user browser according to the performance monitoring data, wherein the page access request carries the target page. The performance monitoring data of the user browser in the process of loading the target page is acquired through the browser probe, the whole process of the user browser is monitored, the timeliness and the integrity of the acquired performance monitoring data are improved, and the accuracy of a performance monitoring result is further improved.

Description

Browser performance monitoring method, device, equipment and medium
Technical Field
The present application relates to the field of application software technologies, and in particular, to a method, an apparatus, a device, and a medium for monitoring browser performance.
Background
With the high-speed development of the internet, channels for acquiring flow of internet products are more and more diversified, and a plurality of front ends are usually connected with each other through a back-end server so as to monitor data information in time. Since the instant data such as the page browsing volume, the real-time traffic, the user browsing behavior, etc. are crucial to the service decision, more content needs to be monitored for the browser performance.
In the prior art, the timeliness for monitoring the performance of the browser is poor, and the accuracy for monitoring the performance of the browser is reduced.
Disclosure of Invention
In view of the above-mentioned deficiencies of the prior art, the present invention provides a method, an apparatus, a device and a medium for monitoring browser performance.
A browser performance monitoring method, the method comprising:
acquiring a page access request sent by a user browser; the page access request carries target page information;
sending the target page embedded with the browser probe to the user browser so that the user browser loads the target page and records performance monitoring data corresponding to the loading process;
acquiring the performance monitoring data through the browser probe; and obtaining a performance monitoring result of the user browser according to the performance monitoring data.
In an embodiment of the present invention, the obtaining a performance monitoring result of the user browser according to the performance monitoring data includes:
obtaining at least one parameter of user proportion, access amount proportion, probe error proportion, page rendering time consumption and processing time consumption of a user browser according to the performance monitoring data;
and obtaining a performance monitoring result of the user browser according to at least one parameter of the user proportion, the access amount proportion, the probe error proportion, the page rendering time consumption and the processing time consumption.
In one embodiment of the invention, the method further comprises:
and the user browser records the corresponding performance monitoring data in the loading process according to a preset performance monitoring data index and a data acquisition triggering condition.
In an embodiment of the present invention, the performance monitoring result includes at least one of a page performance monitoring result, a user tracking monitoring result, a probe error monitoring result, and an Ajax performance monitoring result.
In one embodiment of the present invention, the method further comprises:
the method comprises the steps of obtaining performance monitoring data for multiple accesses of a target page, and obtaining a performance monitoring result for the target page according to the performance monitoring data for the multiple accesses.
In an embodiment of the present invention, the obtaining a performance monitoring result of the user browser according to the performance monitoring data includes:
acquiring a user ID of a user to be tracked;
and acquiring performance monitoring data corresponding to the user to be tracked according to the user ID to obtain a performance monitoring result of the user to be tracked.
In an embodiment of the present invention, after obtaining the performance monitoring result of the user browser according to the performance monitoring data, the method further includes:
positioning performance monitoring data of the user browser according to a monitoring data access request of a user; restoring the process of loading the page by the user browser according to the performance monitoring data;
and sending the performance data and the performance monitoring result to the user browser.
A browser performance monitoring apparatus, the apparatus comprising:
the access request module is used for acquiring a page access request sent by a user browser; the page access request carries target page information;
the probe sending module is used for sending the target page embedded with the browser probe to the user browser so as to enable the user browser to load the target page and record performance monitoring data corresponding to the loading process;
the result acquisition module is used for acquiring the performance monitoring data through the browser probe; and obtaining a performance monitoring result of the user browser according to the performance monitoring data.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the above-described method embodiments when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
The method comprises the steps of sending a target page embedded with a browser probe to a user browser by obtaining a page access request sent by the user browser, obtaining performance monitoring data of the target page loaded by the user browser through the browser probe, and obtaining a performance monitoring result of the user browser according to the performance monitoring data, wherein the page access request carries the target page. The performance monitoring data of the user browser in the process of loading the target page is acquired through the browser probe, the whole process of the user browser is monitored, the timeliness and the integrity of the acquired performance monitoring data are improved, and the accuracy of a performance monitoring result is further improved.
Drawings
Fig. 1 is a schematic application environment diagram of a browser performance monitoring method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for monitoring browser performance according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for monitoring browser performance according to an embodiment of the present invention;
fig. 4 is a block diagram of a browser performance monitoring apparatus according to an embodiment of the present invention;
fig. 5 is an internal structural diagram of a computer device provided in one embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present disclosure more apparent, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
The browser performance monitoring method provided by the application can be applied to the application environment shown in fig. 1. Where user browser 102 communicates with server 104 over a network. The user browser 102 may send a page access request to the server 104, load a target page, and record data in the process of loading the target page, and the server 104 may send the target page embedded with a browser probe to the user, and obtain a performance monitoring result of the user browser according to the performance monitoring data. The user browser 102 may include, but is not limited to, applications with browsing functions of various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster composed of a plurality of servers.
In one embodiment, as shown in fig. 2, a method for monitoring browser performance is provided, which is described by taking the method as an example applied to the server 104 in fig. 1, and includes the following steps:
s210, acquiring a page inquiry request sent by a user browser.
The user browser may be an application, an applet, or the like having a browsing function. The page access request carries target page information to be accessed. The target page can be stored in a storage module of the server, and can also be stored in the cloud server. The server can locate the corresponding target page through the target page information.
In a specific implementation, the server may obtain a page access request of the user browser, and extract a target page to be accessed from the page access request to respond.
S220, sending the target page embedded with the browser probe to a user browser so that the user browser loads the target page and records performance monitoring data corresponding to the loading process;
the browser probe refers to a JavaScript probe (JS probe), and the browser probe can upload performance monitoring data to the server through an HTTP/HTTPS protocol.
The loading process of the target page by the user browser may include operations such as resource loading and page rendering, and the process may generate corresponding performance monitoring data.
The performance monitoring data may be all data generated in the user loading process, or may be partial data determined according to requirements. The performance monitoring data may include page performance data, page tracking data, JS error data, Ajax performance data, and the like, and respectively correspond to different performance monitoring tasks. Ajax is Asynchronous JavaScript and XML, which is a technology for creating better and faster Web applications with stronger interactivity, and has the greatest advantage that data can be exchanged with a server and part of Web page contents can be updated without reloading the whole page.
S230, acquiring performance monitoring data through a browser probe; and obtaining a performance monitoring result of the user browser according to the performance monitoring data.
The performance monitoring result refers to a result obtained by analyzing page monitoring data of the browser in the loading process, the result may include evaluation of multiple dimensions of the user browser in the loading process, and each dimension may correspond to multiple evaluation indexes, so as to comprehensively evaluate the performance of the user browser.
The performance monitoring result can be presented in the form of data parameters or in the form of visual charts, and the server can set the presentation mode according to specific requirements.
In specific implementation, the server may obtain the corresponding performance monitoring data through the browser probe, and obtain a performance monitoring result for the user browser according to the corresponding evaluation dimension.
In the browser performance monitoring method, a target page embedded with a browser probe is sent to a user browser by obtaining a page access request sent by the user browser, performance monitoring data of the target page loaded by the user browser is obtained through the browser probe, and a performance monitoring result of the user browser is obtained according to the performance monitoring data, wherein the page access request carries the target page. The performance monitoring data of the user browser in the process of loading the target page is acquired through the browser probe, the whole process of the user browser is monitored, the timeliness and the integrity of the acquired performance monitoring data are improved, and the accuracy of a performance monitoring result is further improved.
In one embodiment, the step of determining that the performance monitoring result of the user browser is obtained according to the performance monitoring data in S230 includes:
according to the performance monitoring data, at least one parameter of user proportion, access amount proportion, probe error proportion, page rendering time consumption and processing time consumption of a user browser is obtained; and obtaining a performance monitoring result of the user browser according to at least one parameter of the user proportion, the access amount proportion, the probe error proportion, the page rendering time consumption and the processing time consumption.
The user duty ratio of the user browser refers to the proportion of the user types in each user browser. The visit rate refers to the proportion of the visit rate of each user browser, the probe error rate refers to the proportion of JS errors occurring when a page is visited, the page rendering time consumption refers to the time consumed by the rendering of a target page, and the processing time consumption refers to the time consumed by the DOM processing.
In this embodiment, the server may store performance monitoring data of multiple user browsers in multiple periods. Through the analysis of the parameters of the user browser, the server can determine which browsers have more problems, formulate the test priority and optimize the test priority.
According to the scheme of the embodiment, the performance analysis of the user browser is performed in a targeted manner by acquiring the at least one parameter corresponding to the user browser, so that the support of performance monitoring data of multiple dimensions is realized, and the accuracy of performance monitoring for the user browser is improved.
In one embodiment, the method further comprises:
and the user browser records the corresponding performance monitoring data in the loading process according to the preset performance monitoring data index and the data acquisition triggering condition.
In this embodiment, the performance monitoring data index refers to a performance monitoring index that the server needs to perform on the browser, that is, raw data that needs to be collected, and the server may collect part of the loading process data or collect all the loading process data.
The data acquisition triggering condition refers to that when a certain condition is met, the user browser acquires corresponding performance monitoring data so as to reduce the amount of the performance monitoring data and improve the efficiency of data acquisition and transmission. For example, when the target page load time exceeds a set tracking threshold, the user browser may record the following slow page performance data: the method comprises the steps of page element URL, element loading starting and loading finishing time points, element DNS, TCP connection, SSL handshake, first package, residual package and other time, Navigation Timing event time and the like.
According to the scheme of the embodiment, the user browser records the performance monitoring data in the loading process according to the performance monitoring data index and the data acquisition triggering condition, the data acquisition frequency is reduced, and the data acquisition and transmission efficiency is improved.
In one embodiment, the performance monitoring results may include at least one of page performance monitoring results, user trace monitoring results, probe error monitoring results, and Ajax performance monitoring results.
The page performance monitoring result can be obtained by analyzing page performance data. The page performance data may correspond to metrics for multiple dimensions, such as: the method comprises the following steps of sensing the white screen time, the first screen time, the interactive time, the full loading time of the page, the response time and the usability of the clicking operation of the user on the page and the like.
The user tracking monitoring result can be obtained through page tracking data analysis. The page tracking data may correspond to metrics for multiple dimensions, such as: slow full load, slow white screen, slow first screen, slow interactable, operational, failed operational access records of a certain user.
Wherein, the probe error monitoring result can be obtained by analyzing probe error data. The probe error analysis data includes: error page or script URL, Error Message, Error location (row and column numbers), etc.
The Ajax performance monitoring result can be obtained through analysis of Ajax performance data. The Ajax performance data may include Ajax request times, response time, and the like.
According to the scheme of the embodiment, performance monitoring analysis is carried out through a plurality of dimensions, the corresponding performance monitoring results are obtained, the performance monitoring results are subdivided, the accuracy and the practicability of the obtained performance monitoring results are improved, and targeted optimization measures are favorably taken.
In one embodiment, the method further comprises:
and acquiring performance monitoring data for multiple accesses of the target page, and acquiring a performance monitoring result for the target page according to the performance monitoring data for multiple accesses.
In this embodiment, multiple queries to a certain target page may exist in the server, and the server may obtain performance monitoring data corresponding to the multiple queries, analyze the performance monitoring data, and obtain at least one of a page performance monitoring result, a user tracking monitoring result, a probe error monitoring result, and an Ajax performance monitoring result, so as to provide an access optimization suggestion for the page level.
In an embodiment, the step of obtaining the performance monitoring result of the user browser according to the performance monitoring data determined in step S230 further includes:
acquiring a user ID of a user to be tracked; and acquiring performance monitoring data corresponding to the user to be tracked according to the user ID to obtain a performance monitoring result of the user to be tracked.
In this embodiment, the server may track the performance monitoring data of the page corresponding to the user, so as to know the performance monitoring result corresponding to the user, obtain the user perception result, and improve the user experience in a targeted manner.
The server can acquire the user ID of the user to be tracked to track the performance monitoring records of slow complete loading, slow white screen, slow first screen, slow interaction, operation and failed operation of the user browser.
In an embodiment, after obtaining the performance monitoring result of the user browser according to the performance monitoring data, the method further includes:
positioning performance monitoring data of a user browser according to a monitoring data access request of a user; restoring the process of loading the page by the user browser according to the performance monitoring data; and sending the performance data and the performance monitoring result to a user browser.
In this embodiment, the server may open the obtained performance monitoring data and results to the user, and the user may access the performance monitoring results.
In some embodiments, a user may actively send a monitoring data access request to a server, and the server may locate performance monitoring data of the user browser according to identification information carried in the monitoring data access request, and restore a process of loading a page by the browser. The server can return the performance monitoring data of the user browser corresponding to the user and perform visual display so as to improve the efficiency of the user for acquiring the performance monitoring data.
In some embodiments, the server may also trigger to actively analyze the performance monitoring data of the user, analyze the reason for the poor user experience, and perform targeted performance optimization according to the complaints of the user and other things.
According to the scheme of the embodiment, the server can restore the process of loading the target page by the user browser according to the monitoring data access request of the user, and the user experience analysis is performed in a targeted manner, so that the interaction efficiency with the user is improved.
In one embodiment, as shown in fig. 3, there is provided a browser performance monitoring method, including:
step 310, acquiring a page access request sent by a user browser; the page access request carries target page information.
And 320, sending the target page embedded with the browser probe to the user browser so that the user browser records the corresponding performance monitoring data in the loading process according to a preset performance monitoring data index and a data acquisition triggering condition.
Step 330, acquiring the performance monitoring data through the browser probe; obtaining at least one parameter of user proportion, access amount proportion, probe error proportion, page rendering time consumption and processing time consumption of a user browser according to the performance monitoring data; and obtaining a performance monitoring result of the user browser according to at least one parameter of the user proportion, the access amount proportion, the probe error proportion, the page rendering time consumption and the processing time consumption. The performance monitoring result comprises at least one of a page performance monitoring result, a user tracking monitoring result, a probe error monitoring result and an Ajax performance monitoring result.
Step 340, positioning the performance monitoring data of the user browser according to the monitoring data access request of the user; restoring the process of loading the page by the user browser according to the performance monitoring data; and sending the performance data and the performance monitoring result to the user browser.
In the method of the embodiment, the target page embedded with the browser probe is sent to the user browser by obtaining the page access request sent by the user browser, the performance monitoring data of the target page loaded by the user browser is obtained through the browser probe, the performance monitoring result of the user browser is obtained according to the performance monitoring data, and the response is carried out according to the performance monitoring access request of the user. The performance monitoring data of the user browser in the process of loading the target page is acquired through the browser probe, the whole process of the user browser is monitored, the timeliness and the integrity of the acquired performance monitoring data are improved, and the accuracy of the performance monitoring result and the efficiency of user interaction are further improved.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
In one embodiment, as shown in fig. 4, there is provided a browser performance monitoring apparatus 400, the apparatus including:
an access request module 410, configured to obtain a page access request sent by a user browser; the page access request carries target page information;
a probe sending module 420, configured to send a target page embedded with a browser probe to the user browser, so that the user browser loads the target page, and records performance monitoring data corresponding to a loading process;
a result obtaining module 430, configured to obtain the performance monitoring data through the browser probe; and obtaining a performance monitoring result of the user browser according to the performance monitoring data.
In an embodiment, the result obtaining module 430 is further configured to obtain at least one parameter of a user ratio, an access amount ratio, a probe error ratio, a page rendering time consumption, and a processing time consumption of the user browser according to the performance monitoring data; and obtaining a performance monitoring result of the user browser according to at least one parameter of the user proportion, the access amount proportion, the probe error proportion, the page rendering time consumption and the processing time consumption.
In one embodiment: the above apparatus 400 further comprises: and the recording module is used for recording the corresponding performance monitoring data in the loading process by the user browser according to the preset performance monitoring data index and the data acquisition triggering condition.
In one embodiment, the apparatus 400 further comprises: the performance monitoring result comprises at least one of a page performance monitoring result, a user tracking monitoring result, a probe error monitoring result and an Aiax performance monitoring result.
In one embodiment, the result obtaining module 430 includes: and the performance monitoring result unit of the target page is used for acquiring performance monitoring data for multiple accesses of the target page and obtaining a performance monitoring result for the target page according to the performance monitoring data for multiple accesses.
In one embodiment, the result obtaining module 430 includes: the system comprises a user performance monitoring result unit, a tracking unit and a tracking unit, wherein the user performance monitoring result unit is used for acquiring a user ID of a user to be tracked; and acquiring performance monitoring data corresponding to the user to be tracked according to the user ID to obtain a performance monitoring result of the user to be tracked.
In one embodiment, the apparatus 400 further comprises: the response module is used for positioning the performance monitoring data of the user browser according to the monitoring data inquiry request of the user; restoring the process of loading the page by the user browser according to the performance monitoring data; and sending the performance data and the performance monitoring result to the user browser.
For specific limitations of the browser performance monitoring apparatus, reference may be made to the above limitations of the browser performance monitoring method, which are not described herein again. The modules in the browser performance monitoring device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
The invention can be applied to computer equipment, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack-mounted server, a blade server, a tower server or a rack-mounted server (including an independent server or a server cluster formed by a plurality of servers) and the like which can execute programs. The computer device of the embodiment at least includes but is not limited to: a memory, a processor, communicatively coupled to each other via a system bus, as shown in fig. 5. It should be noted that fig. 5 only shows a computer device with memory, processor components, but it should be understood that not all of the shown components are required to be implemented, and more or fewer components may be implemented instead. The memory (i.e., readable storage medium) includes flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory may be an internal storage unit of the computer device, such as a hard disk or a memory of the computer device. In other embodiments, the memory may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the computer device. Of course, the memory may also include both internal and external storage devices for the computer device. In this embodiment, the memory is generally used for storing an operating system and various types of application software installed in the computer device, such as performance monitoring data. In addition, the memory may also be used to temporarily store various types of data that have been output or are to be output. The processor may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor is typically used to control the overall operation of the computer device. In this embodiment, the processor is configured to run a program code stored in the memory or process data, so as to implement a browser performance monitoring method.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the above-described method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for monitoring browser performance, the method comprising:
acquiring a page access request sent by a user browser; the page access request carries target page information;
sending the target page embedded with the browser probe to the user browser so that the user browser loads the target page and records performance monitoring data corresponding to the loading process;
acquiring the performance monitoring data through the browser probe; and obtaining a performance monitoring result of the user browser according to the performance monitoring data.
2. The method of claim 1, wherein obtaining the performance monitoring result of the user browser according to the performance monitoring data comprises:
obtaining at least one parameter of user proportion, access amount proportion, probe error proportion, page rendering time consumption and processing time consumption of a user browser according to the performance monitoring data;
and obtaining a performance monitoring result of the user browser according to at least one parameter of the user ratio, the question amount ratio, the probe error ratio, the page rendering time consumption and the processing time consumption.
3. The method of claim 1, further comprising:
and the user browser records the corresponding performance monitoring data in the loading process according to a preset performance monitoring data index and a data acquisition triggering condition.
4. The method of claim 1, wherein the performance monitoring results comprise at least one of page-by-page performance monitoring results, user trace monitoring results, probe error monitoring results, and Ajax performance monitoring results.
5. The method of claim 1, further comprising:
the method comprises the steps of obtaining performance monitoring data for multiple accesses of a target page, and obtaining a performance monitoring result for the target page according to the performance monitoring data for the multiple accesses.
6. The method of claim 1, wherein obtaining the performance monitoring result of the user browser according to the performance monitoring data comprises:
acquiring a user ID of a user to be tracked;
and acquiring performance monitoring data corresponding to the user to be tracked according to the user ID to obtain a performance monitoring result of the user to be tracked.
7. The method according to any one of claims 1 to 6, wherein after obtaining the performance monitoring result of the user browser according to the performance monitoring data, the method further comprises:
positioning performance monitoring data of the user browser according to a monitoring data access request of a user; restoring the process of loading the page by the user browser according to the performance monitoring data;
and sending the performance data and the performance monitoring result to the user browser.
8. A browser performance monitoring apparatus, comprising:
the access request module is used for acquiring a page access request sent by a user browser; the page access request carries target page information;
the probe sending module is used for sending the target page embedded with the browser probe to the user browser so as to enable the user browser to load the target page and record performance monitoring data corresponding to the loading process;
the result acquisition module is used for acquiring the performance monitoring data through the browser probe; and obtaining a performance monitoring result of the user browser according to the performance monitoring data.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 7 are implemented by the processor when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202110972832.XA 2021-08-23 2021-08-23 Browser performance monitoring method, device, equipment and medium Pending CN113688022A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110972832.XA CN113688022A (en) 2021-08-23 2021-08-23 Browser performance monitoring method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110972832.XA CN113688022A (en) 2021-08-23 2021-08-23 Browser performance monitoring method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN113688022A true CN113688022A (en) 2021-11-23

Family

ID=78581665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110972832.XA Pending CN113688022A (en) 2021-08-23 2021-08-23 Browser performance monitoring method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN113688022A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114124768A (en) * 2021-11-25 2022-03-01 网宿科技股份有限公司 Browser-based performance testing method and device, storage medium and processor
CN116720023A (en) * 2023-08-09 2023-09-08 深圳十方融海科技有限公司 Browser operation data processing method and device and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114124768A (en) * 2021-11-25 2022-03-01 网宿科技股份有限公司 Browser-based performance testing method and device, storage medium and processor
CN116720023A (en) * 2023-08-09 2023-09-08 深圳十方融海科技有限公司 Browser operation data processing method and device and electronic equipment
CN116720023B (en) * 2023-08-09 2024-04-12 深圳十方融海科技有限公司 Browser operation data processing method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN107463641B (en) System and method for improving access to search results
CN112491602B (en) Behavior data monitoring method and device, computer equipment and medium
CN108717435B (en) Webpage loading method, information processing method, computer equipment and storage medium
CN103530292A (en) Webpage displaying method and device
CN113688022A (en) Browser performance monitoring method, device, equipment and medium
CN105205144A (en) Method and system used for data diagnosis and optimization
US20100218112A1 (en) Tracking web page click information
US20160210181A1 (en) Analysis apparatus and analysis method
CN112613938B (en) Model training method and device and computer equipment
CN113220657B (en) Data processing method and device and computer equipment
CN110750443A (en) Webpage testing method and device, computer equipment and storage medium
CN111431767B (en) Multi-browser resource synchronization method and device, computer equipment and storage medium
CN104391953A (en) Method and device for detecting web page updating
CN110659435A (en) Page data acquisition processing method and device, computer equipment and storage medium
CN112817831A (en) Application performance monitoring method, device, computer system and readable storage medium
CN112433784A (en) Page loading method, device, equipment and storage medium
CN112187509A (en) Multi-architecture cloud platform execution log management method, system, terminal and storage medium
CN111221711A (en) User behavior data processing method, server and storage medium
CN111273964A (en) Data loading method and device
CN114528179B (en) Data acquisition program state monitoring method, device, equipment and storage medium
CN111756744B (en) H5 user identification method, device, equipment and storage medium
CN112672187B (en) Page generation method and device, computer equipment and readable storage medium
CN113934954A (en) Webpage first screen rendering method and device in application program
CN112560938A (en) Model training method and device and computer equipment
CN112416699A (en) Index data collection method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination