A system and method for automatically improving performance of a first
graphical program that performs one or more repetitive operations, e.g.,
in a loop. The first graphical program may be programmatically analyzed
and may be programmatically modified based on the analysis.
Programmatically modifying the first graphical program may include
programmatically modifying the one or more repetitive operations or the
loop performed by the first graphical program, where the modification
results in improved performance. In one embodiment, the performance of
the first graphical program may be improved by increasing deterministic
behavior. For example, deterministic behavior may be especially important
for a real-time or time critical application. In one embodiment,
determinism may be increased by removing functionality from the first
graphical program which causes time latency problems. In one embodiment,
one or more additional graphical programs may be programmatically
generated to perform the functionality previously performed by the first
graphical program, where the one or more additional graphical programs
execute simultaneously with the first graphical program.