Glossary term

Central Processing Unit (CPU)

What is a CPU?

A central processing unit (CPU) is the central brain of computing devices, executing program instructions and determining how a program behaves.

Its performance is crucial for real-time rendering and overall application responsiveness in graphics-intensive projects like games.

How does a CPU work?

Modern CPUs are microprocessors built on a single integrated circuit containing billions of transistors, arranged into multiple processing cores that can execute instructions simultaneously. In a game or real-time application, the CPU handles tasks like physics calculations, AI logic, scene management, and preparing 3D rendering instructions before they're passed to the graphics hardware.

While the GPU specializes in parallel processing of visual data, the CPU manages the sequential operations and complex decision-making that determine how a program actually behaves.

How is a CPU used?

Development tools like Unity's own Profiler let creators monitor CPU utilization during runtime, identifying performance bottlenecks and optimization opportunities that can meaningfully improve frame rates and responsiveness.

For real-time 3D applications, especially in VR where consistent high frame rates are essential for user comfort, balancing workloads between CPU and GPU resources is a critical consideration that can dramatically affect the quality and stability of the final experience.

Want to go deeper on profiling and optimization? Unity's Ultimate Guide to Profiling Unity 6 Games covers the full toolset for profiling performance across platforms and devices.

CPU vs. GPU

The CPU and GPU divide the work in any real-time application, one handles logic and decisions, the other handles what gets drawn on screen. Here's a quick side-by-side:

Role
CPU
Sequential logic and decision-making
GPU
Parallel processing of visual data
Handles
CPU
Physics, AI, scene management, game logic
GPU
Rendering, shading, visual effects.

Frequently asked questions (FAQ)

Does adding more CPU cores always improve game performance?

Not automatically. A game only benefits from extra cores if its code is actually written to run work across multiple threads at once; a lot of game logic is still single-threaded, so it won't get any faster just because more cores are available.

Why might a game run fine on a powerful PC but stutter on a slower device?

It usually comes down to which resource is the bottleneck. A powerful PC often has enough CPU and GPU headroom to absorb inefficient code or a poorly optimized scene, while a slower device has far less room for error, the same game can expose a CPU-bound bottleneck (like too much AI or physics work per frame) that never showed up on stronger hardware.

Can other apps or background processes slow down my game's CPU performance?

Yes. The CPU is a shared resource across the whole device, not just your game, background processes, OS tasks, and other apps all compete for the same CPU time, which is why a game can run differently on the same hardware depending on what else is running.

Does multiplayer networking add extra load to the CPU?

Yes. Tasks like serializing data, predicting movement, and reconciling state with a server typically run on the CPU, so a multiplayer game often has a heavier CPU workload than the same game running single-player, even with identical visuals.

Related terms

Frames Per Second (FPS)

Frames per second (FPS) measures how many images a game or application displays each second.

Virtual Reality (VR)

Virtual reality (VR) is a computer-generated environment that fully replaces a user's surroundings with interactive, immersive content.

3D Rendering

3D Rendering is the process of generating 2D images from 3D scene data using lighting algorithms, texture mapping, and material properties while balancing visual fidelity against performance requirements for real-time applications.