The document contains code for tracking and reporting JavaScript errors and performance timings. It defines classes and functions for starting and ending timing marks, collecting errors and performance entries, and sending reports to a server. Key classes include PerformanceReporter for managing performance marks and ErrorReporter for handling errors. Reports are batched and sent asynchronously to avoid delays.
The document contains code for tracking and reporting JavaScript errors and performance timings. It defines classes and functions for starting and ending timing marks, collecting errors and performance entries, and sending reports to a server. Key classes include PerformanceReporter for managing performance marks and ErrorReporter for handling errors. Reports are batched and sent asynchronously to avoid delays.
The document contains code for tracking and reporting JavaScript errors and performance timings. It defines classes and functions for starting and ending timing marks, collecting errors and performance entries, and sending reports to a server. Key classes include PerformanceReporter for managing performance marks and ErrorReporter for handling errors. Reports are batched and sent asynchronously to avoid delays.