Mark and Measure

Official Docs for the Performance API.

If you open public/js/mark-and-measure.js you'll see a call to an API. First use getTime to see how long it takes to complete. Then use mark and measure!