BIS_fnc_codePerformance

From Bohemia Interactive Community
Revision as of 02:59, 23 January 2021 by Lou Montana (talk | contribs) (Text replacement - "{{Function " to "{{RV|type=function ")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Diagnostic

Syntax

Syntax:
Syntax needed
Parameters:
expression: String - Tested expression
arguments (Optional): Anything - Arguments to pass into the code. Default: []
cycles (Optional): Number - Number of wanted cycles. Default: 10000
display (Optional): Display - Display in which the message window with results will be opened. Use displayNull to disable the window. Default: Current mission display
Return Value:
Return value needed

Examples

Example 1:
testArray = []; ["testArray = testArray + [1]"] call BIS_fnc_codePerformance; testArray = []; ["testArray set [count testArray, 1]"] call BIS_fnc_codePerformance; testArray = []; ["testArray pushBack 1"] call BIS_fnc_codePerformance; Compare three methods of adding elements into array

Additional Information

See also:
See also needed

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