Too Long; Didn't Read
Navigation Timing API provides data that can be used to measure the performance of a web site. API lets you measure data that was previously difficult to obtain, such as the amount of time needed to unload the previous page, how long domain lookups take, the total time spent executing the window's load handler, and so forth. API currently describes navigation Timing Level 1. There is a specification for Level 2, but it is not yet covered here. You can use the API to gather performance data on the client side to be sent to a server via XHR.