benchmark: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (=)
m (Some wiki formatting)
 
(52 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| ofp |= Game name
|game1= ofp
|version1= 1.00


|1.00|= Game version
|game2= ofpe
____________________________________________________________________________________________
|version2= 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. |= Description
|game3= arma1
____________________________________________________________________________________________
|version3= 1.00


| [[Number]] <nowiki>=</nowiki> '''benchmark''' |= Syntax
|game4= arma2
|version4= 1.00


| [[Number]] |= Return value
|game5= arma2oa
____________________________________________________________________________________________
|version5= 1.50
 
|x1= <pre>? (benchmark>2000) : setViewDistance 2000</pre> |= Example 1
____________________________________________________________________________________________


| |= See also
|game6= tkoh
|version6= 1.00


}}
|game7= arma3
|version7= 0.50
 
|gr1= System
 
|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.
 
|s1= [[benchmark]]


<h3 style="display:none">Notes</h3>
|r1= [[Number]]
<dl class="command_description">
<!-- Note Section BEGIN -->


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


<h3 style="display:none">Bottom Section</h3>
|seealso= [[viewDistance]] [[setDetailMapBlendPars]] [[setTerrainGrid]] [[getObjectViewDistance]] [[setObjectViewDistance]]
}}


[[Category:Scripting Commands|BENCHMARK]]
{{Note
[[Category:Scripting Commands OFP 1.96|BENCHMARK]]
|user= Killzone_Kid
[[Category:Scripting Commands OFP 1.46|BENCHMARK]]
|timestamp= 20140314135700
[[Category:Scripting Commands ArmA|BENCHMARK]]
|text= The command is obsolete, it was used in {{ofp}} to measure PC performance. In {{arma3}} it returns 2000.
[[Category:Command_Group:_System_Commands|{{uc:{{PAGENAME}}}}]]
}}

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.