openskills.info
Course Preview

Game Performance Optimization

Game performance optimization is the practice of making a game run at a steady frame rate on its target hardware, whether that is a phone, a console, or a PC. Developers use profiling tools to measure where each frame spends time on the processor and the graphics chip, then apply techniques such as reducing draw calls, managing memory allocation, and cutting visual detail to fit the time budget.

itSoftware engineering

Recommended first:gameplay-programming

Don't Panic: Game Performance Optimization

A game keeps making appointments with the display, which is a surprisingly unforgiving diary. Frame budget means the time allowed for one image: about 16.7 milliseconds at 60 frames per second, or 33.3 at 30. The game must simulate input, physics, animation, and gameplay, turn that result into graphics commands, then let the GPU draw the image. When the appointment slips, the player gets a late frame, better known as a hitch.

The first useful question is not how can it be faster, but which worker missed the appointment. The game and render threads use the CPU. The GPU executes the submitted graphics work. A CPU-bound build is waiting for the CPU to feed the GPU; a GPU-bound build has a GPU still working when the next frame wants to start. Lower the render resolution. If frame time barely moves, the CPU is probably still holding the clipboard.

The graphics side has its own bureaucratic disaster: a draw call costs CPU work to prepare and submit even when it draws hardly any pixels. Culling avoids submitting objects the camera cannot see. Batching and instancing reduce the number of calls that remain. Level of detail swaps a distant object for a less detailed version. None of these is a magic spell. They matter only when the measurement says that part of the frame is consuming the budget.

Memory gets a separate ledger. Unity's garbage collection can spread collection across frames, which turns one larger pause into smaller ones but does not make the work disappear. Streaming, runtime shader compilation, and thermal throttling can also make a game look healthy right until a particular moment, device temperature, or level transition objects. Average frame rate has an excellent publicist. A trace has receipts.

Start with the Introduction for the frame pipeline and vocabulary. Use the Slides when you need the CPU or GPU decision path in compact form. Keep the Cheatsheet close during a profiling session, then use the Practice Reference for the engine commands, capture tools, and recapture loop. Each has one job, which is more than can be said for a frame asked to render a forest, three explosions, and a reflective puddle before breakfast.

Where this skill leads

Relevant careers

See how this topic contributes to broader role-level skill maps.

Sources