---
description: The Devil is in the details
---

# Global Performance Monitoring

Unreal Engine provide all the tools required to easily add performance monitoring for GPU, CPU, memory allocations, as such we added a global Shader World stat group named **sw,** which allows you to monitor every aspect of Shader World pipeline on CPU: from workload evaluation, to sending work to the GPU, processing back the results, updating rendering and physical scene representations, as well as updating the spawnable&#x73;**.**

The default landscape of Unreal Engine is designed to work offline, meaning that at runtime most of the work of the landscape consist in a streaming operation from precomputed data. Nothing is produced at runtime, nor can it be edited as a consequence. As opposed to ShaderWorld which carefully produces at runtime what you need to see within a competing time budget.

## Runtime Monitoring: stat sw

Every time spent using CPU is carefully monitored, you can display all those informations at runtime using **stat commands** in the unreal engine command prompt:

```
stat sw
```

<figure><img src="https://1959481941-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoSgK3bK748KQ9bA59ss4%2Fuploads%2FHJ55VsfsD8xVIkKK0S4k%2Fshadeerworldd.jpg?alt=media&#x26;token=d0ae178c-0b8c-470d-9985-ad5a80d08d8f" alt=""><figcaption></figcaption></figure>

## Recommended : Unreal Insight

{% embed url="https://docs.unrealengine.com/5.1/en-US/unreal-insights-in-unreal-engine/" %}

Unreal insight is Epic Games solution for precise performance monitoring, and is the recommended way to get a precise appreciation of bottlenecks, from either GPU or CPU workloads.&#x20;

Every GPU task sent from ShaderWorld is explicitly named and can be precisely monitored in Unreal Insight as seen below:

<figure><img src="https://1959481941-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoSgK3bK748KQ9bA59ss4%2Fuploads%2Fd0K8t422C06gWQREe1R8%2FUnrealInsight.jpg?alt=media&#x26;token=3077ad49-a287-4e6f-8317-ec66689f511e" alt=""><figcaption></figcaption></figure>
