Version: Unity 6.3 Beta (6000.3)
Language : English
CPU and GPU performance control
Request a temporary performance boost

Temporary performance boosts

Request a temporary CPU or GPU boost to increase device performance for short periods.

Temporary performance boosts in Adaptive Performance allow you to raise CPU or GPU frequencies for a limited time. This can help your application complete demanding tasks more quickly and avoid visible performance drops. Boosts increases energy use and heat, so use them sparingly and only when necessary.

To use performance boosts, refer to Request a temporary performance boost. For a practical example of using temporary performance boosts, refer to the Adaptive Performance samples.

How performance boosts work

A performance boost temporarily raises both the minimum and maximum frequencies of the CPU or GPU to highest configured setting, providing more resources and enabling the CPU or GPU to do more work.

The downside is a higher energy consumption and heat production. Using a boost can bring the device into a throttled state. Profile your application and look for additional optimizations before considering using a boost. Only use performance boosts for short bursts.

When to use performance boosts

You might use performance boosts to do the following:

  • Decrease load times if a task is CPU- or GPU-bound
  • Avoid visible hitches when you expect a spike in CPU or GPU work (such as network processing, compiling shaders, or generating content)
  • Preemptively ramp up performance before high-load moments like:
    • Loading a scene
    • Switching sceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
      See in Glossary
      content (for example, when entering a boss fight)
    • Spawning many objects
    • Showing advertisements
    • During bursts of network traffic

Note: When using performance boosts, make sure IDevicePerformanceControl.PerformanceControlMode is set to PerformanceControlMode.System. Refer to CPU and GPU performance control for more information.

Example of requesting a CPU performance boost

In the following sample case, the big and medium cores of the CPU are overloaded. Requesting a CPU boost provides additional resources, so the program can execute everything in time.

A graph from the Unity Profiler showing CPU core frequencies and loads before and after a temporary performance boost. Big and medium cores accelerate while tiny cores are on the same level as before.
A graph from the Unity Profiler showing CPU core frequencies and loads before and after a temporary performance boost. Big and medium cores accelerate while tiny cores are on the same level as before.

Additional resources

CPU and GPU performance control
Request a temporary performance boost