← Back to team overview

sikuli-driver team mailing list archive

[Question #694242]: 20 Observers, Slow Clicks. (using java)

 

New question #694242 on Sikuli:
https://answers.launchpad.net/sikuli/+question/694242

I am starting 20 observeInBackground(). If I do any clicks before the observers are started, I get 20ms clicks. after the 20 observeInBackground() are started, I get clicks anywhere from 2000ms to 6000ms.  

I'm using Java (sikuli jar 2.0.4), Windows 10, I have 64 gigs of ram and a 16 core AMD processor.  CPU never jumps above 2% and memory is at 14gigs. 

How can I get better response time from the clicks? 

I'm ok to stop the observers during a click sequence and then restart. What the best way to stop all 20 and restart with different patterns without memory leaks?  I tried in a List<Region> and would set an existing list item to a new Region and call observeInBackground() and stopObserver() on each item in the list but things got even slower... 

any guidance would be appreciated, thank you!

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.