Using Performance tools
In this section, we will explain how some tools can help to examine the scene and provide analytical readings to the performance of the scene that is currently running. Let’s test out a few of the most essential tools that will be handy for your projects while creating a massive environment with the PCG plugin!
CPU profiling
CPU profiling enables you to precisely identify where your PCG processes are consuming the most time. By detecting these bottlenecks, you can optimize specific parts of your PCG graph to enhance overall performance. To test this, type stat scenerendering
in the console command bar at the bottom of the screen. This command will display the performance metrics and draw calls currently active at your level.
Figure 10.42 – stat scenerendering cvar variable
The illustration here presents the stat menu report, which generates the performance results for the project’s level. This stat setup...