Introduction To Optimization

WHAT IS OPTIMIZATION?

Optimization is a very important process in the Programming Universe, this is responsible for reducing computational resource’s use keeping all the functionalities of a software or app. 

HOW IT WORKS?

The optimization process is composed for many phases of analysis and code improvements, your objective is unique: build the best environment possivel able to run in the maximum of devices availables.

To achieve this goal the programmer makes a series of analyses to identify the peaks use of computational resources. These peaks can be of Memory, CPU, or other resources. With these data, he goes to analysis of code with an objective that is to understand how to improve. After making these analyses, he creates a new version of code, with all performance’s improvement. Then, he tests, and sees the use of computational resources for identifying new problems.

This is an ongoing cycle that lasts until your objective of improvement is completed.

HOW IT WORKS IN UNITY?

Usually this process is made in Unity for a programmer, but in some cases, he can need the help of other team members, because at some cases the files need to be optimized out of unity, in this case the programmer will need to talk with responsible person, and ask for to send for you a new file. 

To create an Optimized Game you will not analyze code only, you need to see all information of your game, this information is shown at the profiler window (Shortcut CTRL + 7).

Open your profile window, and see all the graphics, don’t worry, the quantity of information is big, but all the graphics show some important information about your game.

See carefully each graphic, because all the information that you need is here.

In profiler is possible see informations about:

– CPU
– Rendering
– Memory
– Audio
– Video
– Physics
– Physics 2D
– Network Messages
– Network Operations
– UI
– UI Details
– Global Illumination

In other words, all about your game, can to bee seen in this window, with these graphics you will see where you need to make improvements of optimization.

It’s very simple to analyze the profiler, for the nexts articles I will talk about the graphics of CPU, Memory, and also how to analyze these graphics.
Follow-me on instagram for stay knowing when I create new posts @mauro_developer.

You can also leave your feedback, and your suggestion, I will read all, and I will answer for you.

Thank you for reading.