{"name":"diag_fps","title":"diag fps","type":"command","url":"https://community.bistudio.com/wiki/diag_fps","revid":379331,"updated":"2026-10-30T23:52:18Z","groups":["Diagnostic","Performance Profiling"],"status":"ok","games":{"arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2 1.00","arma3_since":"0.50","description":"Returns average framerate calculated over last 16 frames.","syntaxes":[{"syntax":"diag_fps","params":[],"returns":{"type":"Number","type_expr":"Number"},"form":"nullary"}],"examples":[{"code":["diag_log diag_fps;"]}],"see_also":["diag_fpsMin","diag_frameNo","diag_log","diag_tickTime","diag_deltaTime"],"notes":[{"user":"DreadedEntity","date":"2014-11-19T23:56:00Z","text":"The engine will always calculate the last 16 frames without caring if they are frames in which the loading screen was drawn, or actual mission frames."}]}