Identifying unused javascript

  1. Open Chrome’s Developer Tools
  2. Open the Command Menu using Ctrl+Shift+P and type coverage.
  3. Select Show Coverage and press Enter.
  4. Either click the Record button to interact with the page, or click the Reload button to record the coverage results related to a new page load.
  5. Click Stop Instrumenting Coverage And Show Results when you want to stop recording the results.