```
TestingFunction = {
if (true) exitWith {};
{call { call {call{}}}} forEach variableStuff;
missionNamespace getVariable ["",{call{call { call {call{}}}} forEach variableStuff;}];
{call { call {call{}}}} forEach variableStuff;
missionNamespace getVariable ["",{call{call { call {call{}}}} forEach variableStuff;}];
{call { call {call{}}}} forEach variableStuff;
missionNamespace getVariable ["",{call{call { call {call{}}}} forEach variableStuff;}];
{call { call {call{}}}} forEach variableStuff;
missionNamespace getVariable ["",{call{call { call {call{}}}} forEach variableStuff;}];
{call { call {call{}}}} forEach variableStuff;
missionNamespace getVariable ["",{call{call { call {call{}}}} forEach variableStuff;}];
{call { call {call{}}}} forEach variableStuff;
missionNamespace getVariable ["",{call{call { call {call{}}}} forEach variableStuff;}];
{call { call {call{}}}} forEach variableStuff;
missionNamespace getVariable ["",{call{call { call {call{}}}} forEach variableStuff;}];
{call { call {call{}}}} forEach variableStuff;
missionNamespace getVariable ["",{call{call { call {call{}}}} forEach variableStuff;}];
{call { call {call{}}}} forEach variableStuff;
missionNamespace getVariable ["",{call{call { call {call{}}}} forEach variableStuff;}];
{call { call {call{}}}} forEach variableStuff;
missionNamespace getVariable ["",{call{call { call {call{}}}} forEach variableStuff;}];
{call { call {call{}}}} forEach variableStuff;
missionNamespace getVariable ["",{call{call { call {call{}}}} forEach variableStuff;}];
{call { call {call{}}}} forEach variableStuff;
missionNamespace getVariable ["",{call{call { call {call{}}}} forEach variableStuff;}];
};
```
execute
```
removeAllMissionEventHandlers "EachFrame";
for [{_i=0}, {_i<1000}, {_i=_i+1}] do {addMissionEventHandler ["EachFrame", {call TestingFunction}];};
```
check Framerate. It's not good ofcause because you have 1k EachFrame Eventhandlers.
Now try this
```
removeAllMissionEventHandlers "EachFrame";
for [{_i=0}, {_i<1000}, {_i=_i+1}] do {addMissionEventHandler ["EachFrame", TestingFunction];};
```
You still have the same amount of EachFrame Eventhandlers. But check your FPS now.
using diag_captureFrame i got these results
```
for [{_i=0}, {_i<1000}, {_i=_i+1}] do {addMissionEventHandler ["EachFrame", TestingFunction];}; //~760ms per frame
for [{_i=0}, {_i<1000}, {_i=_i+1}] do {addMissionEventHandler ["EachFrame", {call TestingFunction}];}; // ~47ms per frame
```