#include <Timers.au3>
$testTimer = _Timer_Init()
For $i=0 To 10000
Test1()
Next
$t1 =_Timer_Diff($testTimer)
$testTimer = _Timer_Init()
For $i=0 To 10000
Test2()
Next
$t2 =_Timer_Diff($testTimer)
MsgBox(0,"","Время выполнения без 'Local' - "&$t1&@cr&"Время выполнения с 'Local' - "&$t2)
Func Test1()
;Local $x1, $x2, $x3, $x4, $x5, $x6, $x7, $x8, $x9, $x10, $x11, $x12
EndFunc
Func Test2()
Local $x1, $x2, $x3, $x4, $x5, $x6, $x7, $x8, $x9, $x10, $x11, $x12
EndFunc