---
title: showStatistics
framework: realitykit
role: symbol
role_heading: Type Property
path: realitykit/arview/debugoptions-swift.struct/showstatistics
---

# showStatistics

Collect performance statistics and display them in the view.

## Declaration

```swift
static let showStatistics: ARView.DebugOptions
```

## Discussion

Discussion Add this debug option to a view’s debugOptions option set to display a variety of resource utilization metrics, overlaid on the view. The statistics update in real time so you can examine how your app performs and what resources it consumes under different usage conditions.

For more information about how to use the data shown above and described below, see Improving the Performance of a RealityKit App. Measure time Items listed under the Frame CPU Time heading show how your app makes use of CPU time. The first item indicates frame rate, which directly impacts the quality of the user’s experience. The remaining items indicate average time in milliseconds per frame that the CPU spends performing certain tasks, as described below. Measure geometry Items under the Scene Mesh Stats heading help you optimize your content. These statistics help you to estimate the complexity of your scene. Measure memory The items under the App Memory Usage heading help you understand how much memory your app uses.

## See Also

### Configuring debug options

- [none](realitykit/arview/debugoptions-swift.struct/none.md)
- [showPhysics](realitykit/arview/debugoptions-swift.struct/showphysics.md)
- [showAnchorOrigins](realitykit/arview/debugoptions-swift.struct/showanchororigins.md)
- [showAnchorGeometry](realitykit/arview/debugoptions-swift.struct/showanchorgeometry.md)
- [showWorldOrigin](realitykit/arview/debugoptions-swift.struct/showworldorigin.md)
- [showFeaturePoints](realitykit/arview/debugoptions-swift.struct/showfeaturepoints.md)
- [showSceneUnderstanding](realitykit/arview/debugoptions-swift.struct/showsceneunderstanding.md)
