---
name: "diag_fps"
type: command
status: ok
groups: ["Diagnostic", "Performance Profiling"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/diag_fps
revid: 341165
updated: 2023-05-13T22:13:12Z
---

# diag_fps

*Command · Diagnostic, Performance Profiling · Arma 3 v0.50 · introduced in Arma 2 v1.00*

## Description

Returns average framerate calculated over last 16 frames.

## Syntax

```sqf
diag_fps
```

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

## Examples

### Example 1

```sqf
diag_log diag_fps;
```

## See also

[diag_fpsMin](../commands/diag_fpsMin.md) · [diag_frameNo](../commands/diag_frameNo.md) · [diag_log](../commands/diag_log.md) · [diag_tickTime](../commands/diag_tickTime.md) · [diag_deltaTime](../commands/diag_deltaTime.md)

<sub>Source: [BI Community Wiki — diag fps](https://community.bistudio.com/wiki/diag_fps) (revision 341165).</sub>
