Factorio Perf-avg-frames Command


This command can be used to define the tick sample size for the average performance counter. This means the amount of ticks that will pass before the performance counter calculates an average. By default, this is set to 100 ticks, so the performance counter would calculate an average based on the past 100 ticks (every 100 ticks). A lower number would mean that an average is calculated more often, and the average would have a lower sample size.

Perf-avg-frames Syntax


The syntax for the perf-avg-frames command is as follows:

/perf-avg-frames [tick amount]

This command has the following arguments:

Tick AmountThe amount of ticks that the average should be calculated with.

Perf-avg-frames Examples


Find below working examples of the perf-avg-frames command.


/perf-avg-frames 100

This command would set the performance counter tick sample size to 100, which is default. If you have not modified this setting before, executing this command would not have any effect.

/perf-avg-frames 5

This command would set the performance counter tick sample size to 5, which means that the performance counter would be updated every 5 ticks.

/perf-avg-frames 200

This command would set the performance counter tick sample size to 200, which means that the performance counter would be updated every 200 ticks.