← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #693505]: java multithreading is not parallel

 

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

Jaroslav Novotny posted a new comment:
I did some more testing and found this performance scaling pretty much
in line with both test above:

https://i.imgur.com/D3qGUju.png

It's array of 8 patterns each same size trying to find them in different
region sizes, I did each test for each region size 100x and averaged it,
wasn't sure if the stair-case effect is real or not.

The clear winner seems to be region.findAnyList() that scales nicely,
but UI elements are often scattered around the screen so it would be
used with a big region to batch-find the state of all of them. On the
other hand the single and multi-threaded ways allow to use different
region with different pattern so for each item from the pattern array
only a small portion of screen can be used as region because UI elements
are often fixed where they are. But there is something bottlenecking
both in regions < 500px^2.

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