Improve the performance of a Sikulix script on Flash page

Asked by Hike

Is there any hack to make a Sikulix script (python) run faster on a Flash page? The script gets extremely slow within a few moments after start, while the Flash page is getting some updates (elements on page are refreshed and more Flash page elements are loaded).
The script runs on a 16GB Ram OSX machine.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

What OS X?

using the final 1.1.0?

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.

Revision history for this message
Hike (hikeandride2013) said :
#3

El Capitan 10.11.13

Revision history for this message
Hike (hikeandride2013) said :
#4

yes, using the latest sikulix version

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
RaiMan (raimund-hocke) said :
#6

does it happen after about 1 minute runtime?

Run it from commandline using -d3 -c options and send me the debug output to
sikulix--at--outlook--dot--com

Revision history for this message
RaiMan (raimund-hocke) said :
#7

try with the version 1.1.1 nightly build
http://nightly.sikuli.de

... and see the change log

Revision history for this message
Hike (hikeandride2013) said :
#8

http://nightly.sikuli.de is not accessible now

Revision history for this message
RaiMan (raimund-hocke) said :
#9

thanks for the pointer.
I only have the chance to start repairing it tomorrow night.
Sorry for the inconvenience.

Revision history for this message
RaiMan (raimund-hocke) said :
#10

1.1.1 nightly again available since today

Revision history for this message
Hike (hikeandride2013) said :
#11

Would you help me installing the nightly builds?

I created a new user on MAC with admin right. I deleted from Applications the old Sikulix icon.

I try to run sikulix script I already created with Python.

Downloaded jre-8u77-macosx-x64.dmg -> setup
Downloaded ython-standalone-2.5.4-rc1.jar (nothing happens on clicking it)
Downloaded sikulixlibsmac-1.1.1-20160329.230631-25.jar -> double click -> a folder with this name has been created

Downloaded sikulixsetup-1.1.1-20160329.231054-24-forsetup.jar -> on click I keep getting this error "Not useable! Run setup first!".
Downloaded sikulixsetupAPI-1.1.1-20160329.231212-24-forsetup.jar -> on click I keep getting this error "Not useable! Run setup first!".

Thank you!

Thanks!

Revision history for this message
Hike (hikeandride2013) said :
#12

i also downloaded jython-standalone-2.5.4-rc1.jar :)

Revision history for this message
Best RaiMan (raimund-hocke) said :
#13

follow the steps mentioned here:
http://sikulix.com/quickstart

Revision history for this message
Hike (hikeandride2013) said :
#14

Thanks RaiMan, that solved my question.

Revision history for this message
Hike (hikeandride2013) said :
#15

It works very fast now with Flash on OSX, thank you Raiman!
Closing bug question. :)

Note for newbs like me: In addition to what I downloaded from latest build, I just had to also download and launch sikulixsetup-1.1.0.jar from Download page which knows how to initialize somehow the latest build 1.1.1 jars stuff that I already had locally :)