benchmark: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {2,}\}\}" to " }}")
m (Some wiki formatting)
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{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


| 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.
|game5= arma2oa
|version5= 1.50


| [[Number]] <nowiki>=</nowiki> '''benchmark'''
|game6= tkoh
|version6= 1.00


| [[Number]]
|game7= arma3
 
|version7= 0.50
|x1= <pre>? (benchmark>2000) : setViewDistance 2000</pre>


| [[viewDistance]], [[setDetailMapBlendPars]], [[setTerrainGrid]], [[getObjectViewDistance]], [[setObjectViewDistance]]
|gr1= System
}}


<dl class="command_description">
|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.
<!-- Note Section BEGIN -->


<dd class="notedate">Posted on 14 March 2014
|s1= [[benchmark]]
<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.


|r1= [[Number]]


<!-- Note Section END -->
|x1= <sqs>? (benchmark > 2000) : setViewDistance 2000</sqs>
</dl>


|seealso= [[viewDistance]] [[setDetailMapBlendPars]] [[setTerrainGrid]] [[getObjectViewDistance]] [[setObjectViewDistance]]
}}


[[Category:Scripting Commands|BENCHMARK]]
{{Note
[[Category:Scripting Commands OFP 1.99|BENCHMARK]]
|user= Killzone_Kid
[[Category:Scripting Commands OFP 1.96|BENCHMARK]]
|timestamp= 20140314135700
[[Category:Scripting Commands OFP 1.46|BENCHMARK]]
|text= The command is obsolete, it was used in {{ofp}} to measure PC performance. In {{arma3}} it returns 2000.
{{GameCategory|arma1|Scripting Commands}}
}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{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.