How to avoid start up latency with executable .skl --- not possible

Asked by Looffy Chen

I've create a script and export an .skl excutable file on windows,
but running an executable takes about 3~5 seconds to start,
is anything I can do to speed up the execution?
thanks!

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

simply: no.

With each run of a .skl the Sikuli environment has to start up from scratch. With the current implementation this takes about 3-5 seconds.

Using the run inside the IDE this only happens with the first run. Each subsequent run starts instantly processing the script.

If you want an impression about a solution to run any script without these 3-5 seconds startup not using the IDE: faq 1131

Can you help with this problem?

Provide an answer of your own, or ask Looffy Chen for more information if necessary.

To post a message you must log in.