script_profiler Console Command
Documentation and examples for the script_profiler command in Stellaris.
script_profiler
This command is used to start profiling and prints out the results.
In-depth description
The script_profiler command in Stellaris is a tool used to diagnose performance issues related to mods.
Once you enter the command, it begins an evaluation process commonly referred to as profiling. During this process, it checks all the scripts that are currently in operation as part of the game.
The main purpose is to identify any scripts that may be slowing down the performance of the game, particularly in scenarios where you are using additional modifications or so-called mods.
After the script_profiler has done its work, you need to enter the command again to finish this process. Once stopped, it will display the results of the profiling, providing you detailed insights about the performance of each script that was in operation.