← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #197363]: Stress test with sikuli

 

Question #197363 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/197363

    Status: Open => Answered

RaiMan proposed the following answer:
--- Is there a way to run several sikuli scripts at once? 
Principally yes.

If you are talking about one machine:

-1 A few scripts might be run from command line in parallel, but each
script consumes at least 100 -200 MB of memory. So it will start to get
slow very early depending on your machine's power.

-2 To share the base memory consumption of Sikuli, you can use Pythons
threading feature to make a dispatcher for your scripts.

But you have to be aware, that when using mouse and keyboard actions with -1 you do not have any coordination and the scripts will interfere each other.
With -2 you have at least the possibility to set up some locking to prevent simultaneous use of mouse and keyboard.

If I did not get you right, come back with more detailed information
about what you want to do.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.