Methods and devices for network web resource performance
Abstract
A method includes performing, by a processor, receiving a user selection of a content item on a web page in a web browser executing on a device, obtaining resource timing information corresponding to network timing information associated with a web resource associated with the content item, determining a callback execution time associated with the web resource, aggregating performance information comprising the resource timing information and the callback execution time associated with the web resource, and communicating, to a network operator, the performance information comprising the resource timing information and the callback execution time associated with the web resource.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A method comprising:
performing operations as follows on a processor:
receiving a user selection of a content item on a web page in a web browser executing on a device;
obtaining resource timing information corresponding to network timing information associated with a web resource associated with the content item;
determining a callback execution time associated with the web resource;
aggregating performance information comprising the resource timing information and the callback execution time associated with the web resource; and
communicating, to a device associated with the network operator, the performance information comprising the resource timing information and the callback execution time associated with the web resource.
2 . The method of claim 1 , further comprising:
sending a request to obtain the web resource associated with the content item, responsive to the receiving the user selection; and performing a callback operation, responsive to completion of the sending the request.
3 . The method of claim 2 , further comprising:
processing a resource table comprising the resource timing information, responsive to a completion of the performing the callback operation.
4 . The method of claim 3 , wherein the sending the request to obtain the web resource comprises:
determining a system request send operation associated with the web resource, responsive to the receiving the user selection; and executing a send wrapper operation that redefines the system request send operation, responsive to the determining the system request operation.
5 . The method of claim 4 , further comprising:
determining a request start time associated with the web resource, responsive to the executing the send wrapper operation; and setting a harvest ready flag to an indication of not being ready to harvest a resource table comprising the resource timing information.
6 . The method of claim 2 , wherein the performing the callback operation comprises:
executing a callback wrapper operation that redefines the callback operation; and determining a callback execution time associated with the web resource.
7 . The method of claim 6 , wherein the determining the callback execution time associated with the web resource comprises:
determining a callback execution start time; executing the callback operation; and determining a callback execution end time.
8 . The method of claim 7 , wherein the callback execution time comprises the callback execution start time and the callback execution end time.
9 . The method of claim 5 , further comprising:
setting a harvest ready flag to an indication of being ready to harvest the resource table comprising the resource timing information, responsive to the performing the callback operation.
10 . The method of claim 9 , further comprising:
processing a resource table comprising the resource timing information, responsive to the harvest ready flag indicating being ready to harvest the resource table.
11 . The method of claim 3 , wherein the processing the resource table comprising the resource timing information comprises:
generating a binary sorted proprietary resource list based on a plurality of web resources in the resource table; and determining the resource timing information associated with the web resource, wherein determining the resource timing information associated with the web resource comprises processing elements of the binary sorted proprietary resource list.
12 . The method of claim 11 , wherein the determining the callback execution time associated with the web resource comprises:
correlating the callback execution time associated with the web resource with an element of the binary sorted proprietary resource list; and associating the callback execution time with the resource timing information of the web resource based on the correlating the callback execution time.
13 . The method of claim 12 , wherein the correlating the callback execution time associated with the web resource with the element of the binary sorted proprietary resource list comprises:
identifying an element of the binary sorted proprietary resource list, wherein the identifying the element of the binary sorted proprietary resource list comprises performing a binary search of the binary sorted proprietary resource list.
14 . The method of claim 13 , wherein the correlating the callback execution time associated with the web resource with the element of the binary sorted proprietary resource list further comprises:
determining an index of the element of the binary sorted proprietary resource list that was identified; and identifying the callback execution time associated with the web resource, based on the index of the element of the binary sorted proprietary resource list.
15 . An electronic device, comprising:
a processor; and a memory coupled to the processor and comprising computer readable program code embodied in the memory that when executed by the processor causes the processor to perform operations comprising:
receiving a user selection of a content item on a web page in a web browser executing on a device;
obtaining resource timing information corresponding to network timing information associated with a web resource associated with the content item;
determining a callback execution time associated with the web resource;
aggregating performance information comprising the resource timing information and the callback execution time associated with the web resource; and
communicating, to a network operator, the performance information comprising the resource timing information and the callback execution time associated with the web resource.
16 . The electronic device of claim 15 , wherein in the processor is further configured to perform operations comprising:
sending a request to obtain the web resource associated with the content item, responsive to the receiving the user selection; performing a callback operation, responsive to completion of the sending the request; and processing a resource table comprising the resource timing information, responsive to a completion of the performing the callback operation.
17 . The electronic device of claim 16 , wherein in the processor is further configured to perform operations comprising:
determining a system request send operation associated with the web resource, responsive to the receiving the user selection; executing a send wrapper operation that redefines the system request send operation, responsive to the determining the system request operation; setting a harvest ready flag to an indication of not being ready to harvest a resource table comprising the resource timing information; executing a callback wrapper operation that redefines the callback operation; and determining a callback execution time associated with the web resource, wherein the callback execution time comprises the callback execution start time and the callback execution end time.
18 . The electronic device of claim 16 , wherein in the processor is further configured to perform operations comprising:
setting a harvest ready flag to an indication of being ready to harvest the resource table comprising the resource timing information, responsive to the performing the callback operation; generating a binary sorted proprietary resource list based on a plurality of web resources in a resource table, responsive to the harvest ready flag indicating being ready to harvest the resource table; and determining the resource timing information associated with the web resource, wherein determining the resource timing information associated with the web resource comprises processing elements of the binary sorted proprietary resource list.
19 . The electronic device of claim 16 , wherein in the processor is further configured to perform operations comprising:
correlating the callback execution time associated with the web resource with an element of the binary sorted proprietary resource list; identifying an element of the binary sorted proprietary resource list, wherein the identifying the element of the binary sorted proprietary resource list comprises performing a binary search of the binary sorted proprietary resource list; associating the callback execution time with the resource timing information of the web resource based on the correlating the callback execution time; determining an index of the element of the binary sorted proprietary resource list that was identified; and identifying the callback execution time associated with the web resource, based on the index of the element of the binary sorted proprietary resource list.
20 . A computer program product, comprising:
a non-transitory computer readable storage medium storing computer readable program code which when executed by a processor of an electronic device causes the processor to perform operations comprising:
receiving a user selection of a content item on a web page in a web browser executing on a device;
obtaining resource timing information corresponding to network timing information associated with a web resource associated with the content item;
determining a callback execution time associated with the web resource;
aggregating performance information comprising the resource timing information and the callback execution time associated with the web resource; and
communicating, to a network operator, the performance information comprising the resource timing information and the callback execution time associated with the web resource.Join the waitlist — get patent alerts
Track US2019253333A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.