Arma 3 Scripting

Command in System

benchmark

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns the value of "3D Performance" in OFP Preferences (flashpoint.cfg). This can be used to estimate the computer performance to adapt CPU and GPU demanding settings like view distance dynamically in missions.

Syntax

benchmark

Returns: Number

Examples

Example 1

? (benchmark > 2000) : setViewDistance 2000

See also

viewDistance · setDetailMapBlendPars · setTerrainGrid · getObjectViewDistance · setObjectViewDistance

Community notes

Killzone_Kid

The command is obsolete, it was used in Operation Flashpoint to measure PC performance. In Arma 3 it returns 2000.