Stellaris script_profiler Console Command

Documentation and detailed help with working examples.

script_profiler Command


This command is used to start profiling and prints out the results.

Looking for Stellaris console commands?

Search our complete list!

Quick Overview

The script_profiler command in Stellaris is used for performance profiling.

The command helps you analyze the execution time of different scripts in the game, peak memory usage, and other relevant data related to game performance. This is particularly useful for mod developers as it allows them to identify the performance issues caused by their mods.

When you type this command once, the profiling starts. When you type it again, the profiling stops and the results are shown.

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.

How to Open the Command Console

In Stellaris, cheats are executed from the command console, a text box that you type commands into.

To open the command console press the ~(tilde) key, which is typically located under ESC (escape).

If your keyboard does not have that key, or pressing ~ does not work, try the following keys:

  • ~
  • SHIFT + 2
  • SHIFT + 3
  • ALT + 2 + 1

Type your command into the console, and then press ENTER .

Was this helpful?