Game Development Reference
In-Depth Information
Using the profiler
One additional tool that's used partly for debugging and partly for optimization is the
Proiler window, which is available only in Unity Pro by clicking on the Proiler tab in
Window in the application menu, as shown in the following screenshot. In short, the
profiler gives you a statistical top-down view of how time and workload is distributed
across the different parts of your game and across system hardware components,
such as the CPU and graphics card. Using profiler, you can determine, for example,
how much time is consumed by camera rendering in the scene compared to physics
calculations or to audio functionality, as well as to other categories. It lets you measure
performance, compare numbers, and assess where performance can be improved.
The profiler is not really a tool that alerts you to the presence of bugs in your code
specifically. However, if you're experiencing performance problems in running the
game, such as lags and freezes, then it could guide you to where optimizations can
be made. For this reason, the profiler is a tool to which you'll turn if you decide that
performance is an issue for your game and you need an educated, studied analysis of
where to start implementing improvements.
The profiler is typically used to diagnose performance issues
 
Search WWH ::




Custom Search