← Back to team overview

sikuli-driver team mailing list archive

[Question #241902]: What is the specification of region.setWaitScanRate(float waitScanRate)

 

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

Hello RaiMan,

Sikuli is excellent and helped a lot in my project. But I need some help about what region.setWaitScanRate does.

Story: Recently I made some small optimizations to my project, I moved from 
Settings.waitScanRate = (float)1.0; //fastest scan rate, as per documenation
to
region.setWaitScanRate(float)1.0);
Afterwards I noticed a great performance issues, things were going much slower.
Then I got default region waitScanRate, which was 3.0. 
After I set it higher, eg: 9.0 I got a major boost in performance, even greater than using Settings.WaitScanRate = 1.0.

So, what does it do? Because now that I found the correct settings, the performance of my project increased dramatically.

Thank you!
Bogdan

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