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

# Analyzing draw command and compute dispatch performance with pipeline statistics

Identify issues within your frame capture by examining pipeline statistics.

## Overview

Overview The Pipeline Statistics viewer displays each shader stage in your pipeline state, the amount of time it took to complete, and the GPU activities it performed during that time.

Interpret the GPU activities Various GPU activities appear with bar charts for compiler statistics and runtime profiling statistics.

|   |   |   |   |   |   |   |   |  Inspect the GPU time of the commands in the pass The bottom portion of the Pipeline Statistics viewer displays the GPU time in the Total column for each command in the pass so you can compare their respective elapsed times.

## 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 GPU counters](xcode/analyzing-draw-command-and-compute-dispatch-performance-with-gpu-counters.md)
