benchmark: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dl class="command_description"> <dt><dt>" to " <dl class="command_description"> <dt><dt>")
m (Some wiki formatting)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| ofp
|game1= ofp
|version1= 1.00


|1.00
|game2= ofpe
|version2= 1.00


|gr1= System
|game3= arma1
|version3= 1.00
 
|game4= arma2
|version4= 1.00
 
|game5= arma2oa
|version5= 1.50


| 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.
|game6= tkoh
|version6= 1.00


| '''benchmark'''
|game7= arma3
|version7= 0.50


|r1=[[Number]]
|gr1= System


|x1= <pre>? (benchmark>2000) : setViewDistance 2000</pre>
|descr= 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.


|seealso= [[viewDistance]], [[setDetailMapBlendPars]], [[setTerrainGrid]], [[getObjectViewDistance]], [[setObjectViewDistance]]
|s1= [[benchmark]]
}}


<dl class="command_description">
|r1= [[Number]]


<dt><dt>
|x1= <sqs>? (benchmark > 2000) : setViewDistance 2000</sqs>
<dd class="notedate">Posted on 14 March 2014</dd>
<dt class="note>'''[[User:Killzone_Kid|Killzone_Kid]]'''
<dd class="note">
The command is obsolete, it was used in OFP to measure PC performance. In A3 it returns 2000.


</dl>
|seealso= [[viewDistance]] [[setDetailMapBlendPars]] [[setTerrainGrid]] [[getObjectViewDistance]] [[setObjectViewDistance]]
}}


{{GameCategory|arma1|Scripting Commands}}
{{Note
{{GameCategory|arma2|Scripting Commands}}
|user= Killzone_Kid
{{GameCategory|arma2|Scripting Commands}}
|timestamp= 20140314135700
{{GameCategory|arma3|Scripting Commands}}
|text= The command is obsolete, it was used in {{ofp}} to measure PC performance. In {{arma3}} it returns 2000.
{{GameCategory|tkoh|Scripting Commands}}
}}

Latest revision as of 14:29, 29 July 2022

Hover & click on the images for description

Description

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.
Groups:
System

Syntax

Syntax:
benchmark
Return Value:
Number

Examples

Example 1:
? (benchmark > 2000) : setViewDistance 2000

Additional Information

See also:
viewDistance setDetailMapBlendPars setTerrainGrid getObjectViewDistance setObjectViewDistance

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Killzone_Kid - c
Posted on Mar 14, 2014 - 13:57 (UTC)
The command is obsolete, it was used in Operation Flashpoint to measure PC performance. In Arma 3 it returns 2000.