Performance Profiling

DevOps

Diagnose and resolve performance issues: stat commands, Unreal Insights, GPU/CPU bottleneck identification, and memory profiling.

Version: 5.0.0 – 5.7.3 | Invoke: /skill performance-profiling

← All Skills

What This Skill Does

Performance Profiling helps you diagnose and resolve performance issues in UE5 projects using a systematic, profile-first approach. This skill teaches you to identify whether your bottleneck is GPU, game thread, or render thread using stat commands, then drill into the specific cause with detailed GPU pass timing, CPU profiling, or memory analysis. You will learn to use Unreal Insights for deep frame-by-frame trace analysis, understand frame budgets for 30, 60, and 90 FPS targets, and apply targeted optimization strategies across rendering, gameplay logic, draw calls, and memory to hit your performance goals.

Covers

  • Stat commands for real-time performance monitoring (stat unit, stat GPU, stat fps)
  • Unreal Insights: detailed CPU/GPU profiling and trace analysis
  • GPU profiling: render pass breakdown, shader complexity, and overdraw visualization
  • CPU profiling: game thread, render thread, Blueprint cost, physics, and AI timing
  • Memory profiling: texture memory, mesh memory, VRAM, and asset auditing
  • Common optimization strategies organized by subsystem
  • Frame budget breakdown for 60fps, 30fps, and VR 90fps targets
  • Hitch and stutter diagnosis: shader compilation, asset loading, and garbage collection

Does Not Cover

How to Use

Invoke this skill in Claude Code:

/skill performance-profiling

This skill is also auto-detected when your prompt mentions performance, FPS, frame rate, profiling, optimization, bottleneck, GPU, CPU, stat, or slow intent. AgentUX will automatically activate Performance Profiling when it recognizes relevant context in your request.

Key Unreal Engine Concepts

Concept Description
stat unitThe primary profiling command showing per-frame timing for Game, Draw, GPU, and RHI threads: the largest value is your bottleneck.
stat GPUBreaks down GPU time by render pass (BasePass, Shadows, Lumen, PostProcessing) to identify rendering bottlenecks.
Unreal InsightsA deep profiling tool for frame-by-frame trace analysis with timing views, counters, and memory tracking.
Shader Complexity ViewA viewport visualization mode that color-codes surfaces by material cost: red indicates expensive shaders.
Frame BudgetThe maximum milliseconds per frame for a target FPS: 16.6ms for 60fps, 33.3ms for 30fps, 11.1ms for VR 90fps.
Size MapA developer tool that visualizes disk and memory usage per asset type and directory for identifying oversized content.

Related Skills

What You'll Learn

  • How to quickly identify whether your bottleneck is GPU, game thread, or render thread
  • How to use stat GPU to find the most expensive render pass in your scene
  • How to capture and analyze traces in Unreal Insights for detailed profiling
  • How to diagnose hitches and stutters caused by shader compilation, loading, and garbage collection
  • How to audit memory usage and identify oversized textures and asset reference chains
  • How to apply a systematic optimization strategy ordered by impact