What it does

The Profiler measures where execution time and memory are spent. Use CPU Timeline for timing and order, GPU for rendering time, and Rendering for drawing statistics to narrow down a slowdown.

Figure: Conceptual relationship: Run on target → Measure CPU/GPU work → Identify causes
Figure: Conceptual relationship: Run on target → Measure CPU/GPU work → Identify causes

How to use it

Connect a Development Player on the target device and record the reproducible operation. Separate CPU execution from waits in Timeline and combine GPU, memory and rendering information as needed.

A concrete example

An average FPS cannot explain a scene-transition hitch. Select the slow frame and distinguish loading, activation, GC and shader preparation.

How to check it

  1. Change one item and repeat under recorded conditions.
    Change one variable, then remeasure
    Change one variable, then remeasure
  2. Account for profiling overhead, Editor-only work and synchronization waits rather than treating them as shipping performance.
    Change one variable, then remeasure
    Change one variable, then remeasure

Limitations

Editor measurements differ from player performance; development/deep profiling add overhead.

References