Performance Task.LoadModuleFromFile


We're using the PC SDK to repeatedly load a new module from file and start a routine of that module. We're investigating the stand-still time of the robot between two consecutive programs and noticed that the call to "Task.LoadFileFromModule" takes 1362 milliseconds on average. This seems to be much slower than loading a module from file with the "Load" instruction in RAPID.

Can you provide an explanation for this difference in performance? Is there be a work-around or solution to speed up the loading of modules?

Thank you,