Identifying unused javascript
- Open Chrome’s Developer Tools
- Open the Command Menu using Ctrl+Shift+P and type coverage.
- Select Show Coverage and press Enter.
- 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.
- Click Stop Instrumenting Coverage And Show Results when you want to stop recording the results.