This document summarizes code for logging and reporting JavaScript errors and performance metrics. It defines classes and functions for starting and ending timer events, collecting errors and metrics, and reporting the data to a server. Key classes include jb for managing timer events and reporting, and gb for representing individual timer events with labels, durations, and other metadata. Functions like start(), end(), and ib() are used to mark the start and end of timer events and clear any marks. The code also handles queuing reported data and sending it to a URL when the queue exceeds a certain size.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
84 views6 pages
F
This document summarizes code for logging and reporting JavaScript errors and performance metrics. It defines classes and functions for starting and ending timer events, collecting errors and metrics, and reporting the data to a server. Key classes include jb for managing timer events and reporting, and gb for representing individual timer events with labels, durations, and other metadata. Functions like start(), end(), and ib() are used to mark the start and end of timer events and clear any marks. The code also handles queuing reported data and sending it to a URL when the queue exceeds a certain size.