← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #264563]: How to get a final sorted match list after more than one findAll()

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
you have 4 findAll() in your script: each takes some 100 millisecs.

depending on the achievable restricted region, this might drop down to
some 10 millisecs.

... but before end, you hover across the found matches. since you have
the MoveMouseDelay at 0.5 seconds, with 9 elements, this counts up to
4.5 seconds ;-)

So it seems, that your findAll()s are already working rather fast.

to measure elapsed time:

start = time.time()
# some work
print time.time() - start

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