---
name: "benchmark"
type: command
status: ok
groups: ["System"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/benchmark
revid: 329496
updated: 2022-07-29T13:29:47Z
---

# benchmark

*Command · System · Arma 3 v0.50 · introduced in Operation Flashpoint v1.00*

## 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

```sqf
benchmark
```

**Returns:** [Number](../topics/Number.md)

## Examples

### Example 1

```sqs
? (benchmark > 2000) : setViewDistance 2000
```

## See also

[viewDistance](../commands/viewDistance.md) · [setDetailMapBlendPars](../commands/setDetailMapBlendPars.md) · [setTerrainGrid](../commands/setTerrainGrid.md) · [getObjectViewDistance](../commands/getObjectViewDistance.md) · [setObjectViewDistance](../commands/setObjectViewDistance.md)

## Community notes

**Killzone_Kid** — 2014-03-14

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

<sub>Source: [BI Community Wiki — benchmark](https://community.bistudio.com/wiki/benchmark) (revision 329496).</sub>
