Skip to main content

How To Annotate A Chrome DevTools Performance Trace

· 3 min read
Matt Zeunert

Recording a performance trace with Chrome DevTools provides you a lot of data about your website speed.

But the performance recordings can also be confusing and full of data. The new annotations feature helps you highlight interesting observations, raise questions, and provide explanations. That way you can easily share your thoughts with other team members.

tip

This feature will land in Chrome 131, which becomes the stable version on 12 November 2024.

DevTools performance annotations

How to add an annotation in Chrome DevTools

To annotate a specific item in the performance recording you need to

  1. Record a performance trace
  2. Right click a trace item and click Label Entry
  3. Enter your label
  4. Press enter or click outside the annotation
tip

You can also double-click a trace item to add an annotation.

Types of DevTools performance annotations

Chrome supports three types of annotations:

  • Item labels
  • Item connections
  • Time ranges

Item labels

Labels provide an easy way to add more information to a CPU task, network request, rendering milestone, or other trace item.

For example, you can:

  • Point out specific tasks that delay rendering
  • Provide explanations for performance behavior
  • Raise questions about what causes delays

Example of an item label in Chrome DevTools

Item connections

Connections let show causality or sequence between different trace entries. They let you draw arrows between different items in the performance recording.

You can add a connection by right-clicking and then selecting Link entries. Or you can double click an item and then click on the little arrow button to the right of it.

Arrow annotations in DevTools

Time ranges

Time ranges let you label what happens in different parts of the recording. For example, you can highlight specific scripts or third parties that are slowing down your page.

To add a time range:

  1. Hold the shift key
  2. Click the starting location, and hold the mouse button
  3. Release the mouse button at the end time
  4. Assign a label

Various marked time ranges

View a list of trace annotations

You can view all available trace annotations in the Annotations pane on the left of the trace recording.

Hover over an item and click the trash icon to delete it.

Chrome list of performance annotations

How to share annotated trace recordings

While you can share screenshots of your annotated trace, exporting the trace along with all annotations is more flexible and lets other add additional notes.

To do that, click on the Save Profile icon and select Save trace.

Save trace dropdown menu

Get a monthly email with page speed tips