In short: the Chrome DevTools Performance tab records everything the browser does while your page loads or reacts to a click. Open DevTools with F12, go to the Performance panel, turn on CPU throttling (a central processing unit slowdown), press Record, reproduce the slow action, then stop.
Look for long tasks (red corners on the main thread), read the Insights sidebar, and use the Bottom-Up tab to find the function that eats the time. The Network panel tells you if the delay comes from the server or the files. The Memory panel tells you if the page gets slower the longer it stays open.
Most developers live in the Console and the Elements panel. That works until a client says “the app is just slow” and nothing in the Console explains why. This guide gives you a repeatable workflow on a real slow page, from symptom to the exact line of code, without trying to explain every button.
How a slow page actually happens
A page feels slow for one of three reasons. The bytes arrive late, the browser is too busy to draw them, or the page keeps growing in memory until everything drags. Each DevTools panel answers one of these questions, which is why opening the right one first saves most of the time.
The browser does almost all of its work on a single main thread. That thread parses HTML, runs JavaScript, calculates styles, computes the layout (the size and position of every box) and prepares the paint. It can only do one thing at a time. When a script runs for 300 ms, a click made during that script waits, and the user sees a frozen page.
To draw smoothly at 60 frames per second (FPS), the browser has about 16.7 ms per frame. Chrome flags any task longer than 50 ms as a long task, because it starts to delay responses to user input. So the job in DevTools is simple to state: find the long tasks, find what started them, and make them shorter or move them off the main thread. This reference is the one worth keeping handy.

Which panel to open first
The symptom tells you where to start. Skipping this step is the most common reason people give up on the Performance panel: they record a trace for a problem that lives in the network or in memory.
| Symptom | Open first | What to look at | Avoid |
|---|---|---|---|
| Blank or half-empty screen for seconds on first load | Network | Waterfall, “Waiting for server response”, blocking CSS and JavaScript files | Recording a runtime trace before checking the server time |
| Page loads, but buttons react late | Performance (record an interaction) | Long tasks, INP (click-to-response delay) in Live metrics, Bottom-Up | Testing on an unthrottled desktop only |
| Scrolling or animations stutter | Performance | Frames track, purple Layout blocks, forced reflows | Leaving advanced paint instrumentation on while timing |
| Content jumps while loading | Performance (Record and reload) | Layout shift clusters, CLS (layout shift score) | Fixing it only on your own screen size |
| App gets slower after 10 to 20 minutes of use | Memory + Performance monitor | JavaScript heap and DOM (the page’s element tree) nodes that never go down, detached elements | Taking one heap snapshot and drawing conclusions from it |
Set up a clean test before you record
Open DevTools with F12, or Ctrl+Shift+I on Windows and Linux, Cmd+Option+I on macOS. Then click the Performance tab. If you can’t see it, open the Command Menu with Ctrl+Shift+P (Cmd+Shift+P on macOS) and type “Performance”.
Work in an Incognito window, or in a separate Chrome profile with no extensions. Extensions inject their own scripts into every page, and their work shows up in your trace as if it were yours. This one habit removes a surprising amount of noise.
Next, open the settings with the gear icon in the Performance panel. These are the options that matter:
- CPU throttling: a 4x slowdown is a common starting point to simulate a mid-range phone. Use 6x for older devices.
- Network throttling: “Fast 4G” or “Slow 4G” for load tests. Leave it off for pure runtime tests.
- Screenshots: keep it on, so you can see what the user saw at each moment.
- Memory: tick it when you suspect a leak. It adds a graph of the JavaScript heap, DOM nodes and event listeners.
- Disable JavaScript samples: makes the trace lighter, but hides your function names. Leave it unticked for debugging.
- Enable advanced paint instrumentation: shows layer and paint details, but slows the page down. Turn it on only to study painting.
Throttling isn’t optional when you’re profiling, in our opinion. Mid-range phones have far slower processors than a developer laptop, so a script that feels instant on your desk can freeze a phone for hundreds of milliseconds. Without throttling, the long tasks your users suffer simply don’t appear in your trace.
Recording a useful trace in the Chrome DevTools Performance tab
There are two ways to record, and they answer different questions. Record and reload (the circular arrow, Ctrl+Shift+E) reloads the page, profiles the whole load and stops by itself shortly after the load ends. Use it for slow first loads and layout shifts.
Record (the round button, Ctrl+E, or Cmd+E on macOS) captures whatever you do until you click Stop. Use it for a slow button, a heavy filter, a laggy form or a janky scroll. Keep the recording short: start, perform the one slow action, stop. A trace of five to ten seconds is much easier to read than a full minute.
Before you record anything, look at the Live metrics view that opens with the panel. It shows LCP (Largest Contentful Paint, when the main content appears), CLS and INP for the page as you use it, measured on your machine.
You can also link it to field data from the Chrome User Experience Report (CrUX), Google’s public dataset of real Chrome visits. It tells you whether your local numbers resemble what real visitors get. If your local INP is fine but the field data is poor, your test setup is too fast.
You can save a recorded trace with the download icon and load it later. That’s useful to compare a before and after, or to send a trace to a colleague instead of a vague screenshot.

Reading the timeline without getting lost
The first trace looks overwhelming, so read it from top to bottom in this order.
The overview strip at the top shows CPU activity, network and screenshots over time. Red bars above it mark long tasks. Drag across a busy area to zoom into it; everything below follows your selection.
The colours follow one rule across the whole panel:
- yellow is scripting (JavaScript execution);
- purple is rendering (style recalculation and layout);
- green is painting and compositing;
- blue is loading and HTML parsing;
- grey is system work, and white is idle time.
The tracks below the overview are where the details live. Network shows requests in time, and Frames shows each frame, so dropped or partial frames stand out.
Timings shows markers such as First Contentful Paint and LCP. Interactions shows each click or key press with its duration.
The Main track is the one you’ll use most. It’s a flame chart of the call stack: the top bar is the task, and the bars under it are the functions it called, one level per stack frame. Long tasks carry a red triangle in their corner. Click one and the Summary at the bottom shows how its time splits between scripting, rendering and painting.
The bottom tabs give four views of the same selection. Summary is the pie of time per category.
Bottom-Up lists the functions that spent the most time themselves (self time), which is usually where the fix is. Call Tree shows the path from the root event down to each function. Event Log lists everything in order of time.
Using the Insights sidebar
Chrome used to ship a separate Performance Insights panel that turned a trace into a list of actionable problems. That panel has been retired, and its analysis now lives inside the Performance panel itself, in the Insights sidebar on the left of a recorded trace. If you liked the old panel, this is where its findings went.
After a recording, the sidebar lists insights such as the LCP breakdown, render-blocking requests, layout shift culprits, long tasks tied to an interaction, or large DOM size. Hover an insight and DevTools highlights the matching part of the trace. That link between “what’s wrong” and “where in the timeline” is the fastest way into an unfamiliar trace.
Treat insights as leads, not verdicts. They point at the likely bottleneck, but you still confirm it in the Main track and in Bottom-Up before changing code.
Debugging the three Core Web Vitals
Google’s Core Web Vitals give you clear targets, and web.dev rates a page “good” when it meets all three:
- LCP of 2.5 seconds or less;
- INP (Interaction to Next Paint, the delay between a click and the next frame) of 200 ms or less;
- CLS (Cumulative Layout Shift, how much content jumps) of 0.1 or less.
Google measures these at the 75th percentile of real visits, so three visits out of four must meet the target.
LCP: the main content shows up late
Record and reload, then find the LCP marker in the Timings track. The LCP insight splits the delay into phases: time to first byte, resource load delay, load duration and render delay. If time to first byte dominates, the problem is the server. If load delay dominates, the browser discovered the hero image too late.
A classic cause is a hero image with loading="lazy". Lazy loading tells the browser to wait, which is the opposite of what you want for the largest element above the fold. Use loading="eager" and add fetchpriority="high" on that one image.
INP: clicks react late
Record, click the slow button once, stop. In the Interactions track, select the interaction and look at its three parts: input delay, processing time and presentation delay. A long input delay means something else was busy on the main thread when the user clicked. A long processing time points at your event handler; open Bottom-Up to see which function inside it is heavy.
There are three usual fixes. Do less work in the handler, or split a long loop into chunks so the browser can paint between them. For pure computation, move it to a Web Worker, which runs on another thread.
CLS: content jumps
Record and reload with screenshots on. Layout shifts appear as clusters in the Layout shifts track; click one to see which elements moved. Images and embeds without reserved space are the frequent culprits. Give them width and height attributes, or a CSS aspect-ratio, so the browser keeps room for them before they load.

The Network waterfall: is it the server or the files?
Open the Network panel, tick Disable cache, and reload. Each row is one request, and the Waterfall column shows when it started and how long each phase lasted. Hover a bar, or open a request and its Timing tab, to see its phases:
- queueing and stalled, when the browser waits before sending;
- DNS lookup (the Domain Name System turning the domain into an IP address);
- initial connection and SSL, the encryption handshake (today handled by TLS, Transport Layer Security);
- request sent, waiting for server response, and content download.
The last three tell you most of the story.
Read the waterfall like this:
- A long “Waiting for server response” on the HTML document means the server or the back end is slow. No front-end change will fix it; look at caching, database queries or the API.
- A staircase of requests that start one after another means each file is only discovered after the previous one loads. Preload the key resource or remove the chain.
- Large content download times point at heavy files: uncompressed images, unminified JavaScript, or a full library loaded for one function.
- Dozens of identical API calls point at a component that fetches on every render.
Two more tools help. The Initiator column shows which file triggered each request. Right-click a request and choose Block request URL to reload without it, which is a quick way to measure what a third-party script really costs.
Finding memory leaks with the Memory panel
A leak shows up as an app that gets slower the longer it stays open. Garbage collection (the browser freeing memory nobody uses) runs more often, and those pauses appear as “Major GC” (garbage collection) blocks in the Main track. Start with the Performance monitor: open the three-dot menu in DevTools, then More tools, then Performance monitor. It graphs CPU usage, JavaScript (JS) heap size, DOM nodes and JS event listeners in real time.
Repeat one action ten times, for example opening and closing a modal. If DOM nodes and listeners climb and never return to their starting level, you have a leak. Confirm it in the Memory panel:
- Choose Heap snapshot and take a first snapshot.
- Perform the suspect action several times, then return to the starting state.
- Take a second snapshot.
- Switch the view to Comparison and sort by size delta.
- Type “Detached” in the class filter to find DOM elements removed from the page but still held in memory.
Click a leaking object and read its Retainers section. It shows the chain of references keeping it alive: often an event listener on window, a timer that was never cleared, or a cache in a module. For allocations that happen over time, the Allocations on timeline option shows when the page allocated memory and whether it ever freed it.
Five traps that waste an afternoon
The trace shows functions you never wrote. Cause: an extension injects scripts into the page. Fix: record in Incognito or a clean profile.
Everything looks fast, but users complain. Cause: an unthrottled developer machine with a warm cache. Fix: CPU throttling at 4x, Disable cache in the Network panel, and a check against field data in Live metrics. Mastering Chrome DevTools for Web Performance Optimization tackles the same question from another angle.
The heap keeps growing even after the fix. Cause, in practice: DevTools itself can keep objects alive, for example values you printed in the Console. Fix: clear the Console, avoid logging the objects you’re tracking, and take a fresh pair of snapshots.
DevTools itself becomes laggy or freezes. Cause: very long recordings, a huge DOM in the Elements panel, or DevTools kept open for hours on a dev server. Fix: record short traces, close and reopen DevTools, and check its own process in the Chrome Task Manager.
Timings change from one run to the next. Cause: one recording is never a measurement. Fix: record three runs and compare the median, with the same throttling each time.

How to measure the result
A fix is only real if a number moved. Before changing code, save a trace and note the long task durations, the interaction’s INP and the LCP time. After the change, record the same scenario with the same settings and compare.
For client projects, we recommend keeping these saved traces in the project folder next to the ticket. Then check the field data again a few weeks later in PageSpeed Insights or Search Console. CrUX covers a rolling 28-day window of real visits, so a fix needs time to show. Lab traces prove the fix works; field data proves users feel it.
A repeatable checklist
- Name the symptom: slow load, slow click, stutter, jumps, or slowdown over time.
- Open the matching panel first, using the table above.
- Use an Incognito window or a clean profile.
- Set CPU throttling (4x) and, for load tests, Network throttling.
- Read Live metrics to compare local and field values.
- Record a short trace of one action, or Record and reload for page loads.
- Read the Insights sidebar, then confirm in the Main track.
- Find the heavy function in Bottom-Up.
- Check the Network waterfall for server time and request chains.
- For slowdowns over time, compare two heap snapshots.
- Fix one thing, record again with the same settings, save both traces.
Where to go from here
Pick the slowest page of the app you’re working on today and run the checklist once, start to finish. The first trace takes a while to read; by the third one, you’ll spot long tasks and request chains in seconds. For every option of the panel, the official Chrome DevTools Performance documentation is the reference, and web.dev’s Web Vitals guide explains each metric in depth.
More hands-on guides on web and app development are on the coding4.net blog.
FAQ
How do I turn off DevTools in Chrome?
Press F12 again, or click the X in the top-right corner of the DevTools window. To block DevTools entirely on managed computers, administrators use the Chrome enterprise policy DeveloperToolsAvailability; setting it to 2 disables them.
Why is my Google Chrome all of a sudden so slow?
Usually a tab or an extension is using too much CPU or memory. Open the Chrome Task Manager (Shift+Esc on Windows, or the three-dot menu, then More tools, then Task manager) and sort by CPU or memory. Disable the extension or close the tab at the top of the list.
How do I check CPU usage in Chrome?
The Chrome Task Manager shows CPU use per tab, extension and process. For a single page you’re developing, the Performance monitor in DevTools graphs CPU usage live while you interact with it.
Does the same workflow work in Edge or Brave?
Yes. Microsoft Edge, Brave and Opera are built on Chromium, so their developer tools share the same Performance, Network and Memory panels. Menu names can differ slightly, but traces and heap snapshots work the same way.
Is the Performance tab useful for a small site?
Yes, even a brochure site can carry a slow slider script or an oversized hero image. A single Record and reload often shows the problem in a minute, so it’s worth doing before launch.

