---
title: Analyzing draw command and compute dispatch performance with GPU counters
framework: xcode
role: article
role_heading: Article
path: xcode/analyzing-draw-command-and-compute-dispatch-performance-with-gpu-counters
---

# Analyzing draw command and compute dispatch performance with GPU counters

Identify issues within your frame capture by examining performance counters.

## Overview

Overview The Performance Statistics viewer displays counters to help you understand the automatically generated insights for hotspots and bottlenecks so you can improve GPU performance. GPU performance counters are granular statistics that relate to the specific render, compute, or blit work your app performed in the captured frame.

Show columns for performance counters Control-click a column header to show and hide counter value columns for median, maximum, and total values. You can view the following columns: Check counters data for anomalies Move the pointer over a counter to reveal its description.

By analyzing values that may be hotspots, counters can suggest a specific cause of your app’s performance problem. For example, if the number of vertices is twice as high as you expect, it’s likely that your code has duplicate meshes or render encoder draw calls. Limit your scope with filters Use the filter field at the bottom of the table to adjust filtering criteria by typing filter terms into it. The table shows individual counters and groups of counters with names that match those filter terms. When there are two or more filter terms, you can click the filter button to choose whether to match any or all of the terms. For any filter term, you can click it to choose to include or exclude counters that match the term.

## See Also

### Metal command analysis

- [Inspecting the bound resources for a command](xcode/inspecting-the-bound-resources-for-a-command.md)
- [Inspecting the geometry of a draw command](xcode/inspecting-the-geometry-of-a-draw-command.md)
- [Inspecting the attachments of a draw command](xcode/inspecting-the-attachments-of-a-draw-command.md)
- [Debugging the shaders within a draw command or compute dispatch](xcode/debugging-the-shaders-within-a-draw-command-or-compute-dispatch.md)
- [Analyzing draw command and compute dispatch performance with pipeline statistics](xcode/analyzing-draw-command-and-compute-dispatch-performance-with-pipeline-statistics.md)
