Performance slowdown
Thanks for your help prior RaiMan! The script finally works but I am hitting performance degradation really fast.
Always at the 4th iteration of the "for" loop, Sikuli slows to a crawl. The cursor will sit there and image matching will time out mostly. I've tried to optimize search Region as much as possible. I've tried closing everything in the computer and just running Sikuli and browser. The wheel() function and the if() function aren't called within the for loop, so the slowdown is caused by those.
I am on Sikuli 1.1.0 on OS X 10.10.1.
Any help much appreciated!
setAutoWaitTime
setFindFailedRe
Settings.
Settings.
aaFirstlink = Region(0,0,422,137)
aaProfile = Region(
itWSR = Region(
itASR = Region(
closeTR = Region(23,22,28,31)
passwdR = Region(
rightclickR = Region(0,0,800,700)
lineHeight = 48
link = aaFirstlink.
for i in range(7):
App.
if (i != 0) and (i % 10 == 0):
link = aaFirstlink.
link.
wait(
click()
aaProfile.
click(
wait(2)
itWSR.
click(
App.
wait(3)
itASR.
if passwdR.
if exists(
click()
if exists ("1423777812879
click()
App.
wait(2)
closeTR.
wait(2)
link.y += lineHeight
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Joe Tibbetts for more information if necessary.