This little migration guide shows you how to record a JS profile in the Performance panel, and how the Performance panel's UI maps to the old workflow that you're used to.
How to record a JS profile
- Open DevTools.
Click the Performance tab.
Record in one of the following ways:
- To profile a page load, click Record Page Load. DevTools automatically starts the recording and then automatically stops when it detects that the page has finished loading.
- To profile a running page, click Record, perform the actions that you want to profile, and then click Stop when you're finished.
How the old workflow maps to the new
From the Chart view of the old workflow, the screenshot below shows you the position of the CPU usage overview chart (top arrow) and the flame chart (bottom arrow) in the new workflow.
The Heavy (Bottom Up) view is available in the Bottom-Up tab:
And the Tree (Top Down) view is available in the Call Tree tab:
How was this article? Great? Terrible? Let us know by answering the questions below.