Time for action ā using profiles to break down frame-time performance
In this example, we will use some of the more useful profiles immediately available to us within the editor or launcher applications.
Type
profile 1
into the console.This view displays a per-function breakdown cost in frame time. This is especially useful for programmers when scripting and adding new game code.
Note that it shows a descending list of the most expensive functions that are executed. If, for example, functions named particle and character are at the top of the list, it is likely that there is an element within the level negatively affecting performance.
Type
profile 6
into the console.This view shows the time in milliseconds and the percentage of the overall frame time that each system within the CryENGINE consumes.
Try some of the other profiles available by typing in
profile 1
throughprofile 7
.
What just happened?
We have just seen how to visualize our performance and identify potential performance problems...