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

2020-10-27 Thread RaiMan
Question #693505 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/693505 RaiMan posted a new comment: region.findAny() works on one region with many patterns, the region is only captured once at the beginning and the search is done threaded in the captured image. multiple

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

2020-10-27 Thread Jaroslav Novotny
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

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

2020-10-22 Thread Jaroslav Novotny
Question #693505 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/693505 Status: Answered => Solved Jaroslav Novotny confirmed that the question is solved: I distilled my code to the smallest working example: https://notepad.pw/code/g105vjx1b And got output that I'd expect:

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

2020-10-18 Thread RaiMan
Question #693505 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/693505 Status: Open => Answered RaiMan proposed the following answer: This is my test program (latest Java 8 on macOS 10.15 (iMac: 3 GHz 6-Core Intel Core i5)) package com.sikulix.testAPI; import