[Sikuli-driver] [Bug 1631720] Re: [1.1.1] macOS Sierra 10.12: type() gets very slow after about 40 sec runtime - fixed 2016-10-10
for example my Sikuli is installed in Applications and my Script is in a desktop folder /Users/Jeff/Desktop/SikuliScripts/Vikings/Code from Command Line enter (This comment box makes below look like 2 lines - it is one line continuous) /Applications/Sikuli/runsikulix -r /Users/Jeff/Desktop/SikuliScripts/Vikings/Code/Vikings_Main.sikuli -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1631720 Title: [1.1.1] macOS Sierra 10.12: type() gets very slow after about 40 sec runtime - fixed 2016-10-10 Status in Sikuli: Fix Committed Bug description: * RaiMan tested and confirmed after about 40 seconds runtime, the type command pauses about 10 seconds at key release for each following single character/key. This is the same problem as we had with click actions with OSX 10.10. It was caused by some strange behavior of the Java Robot deep inside. At this time, type() was not yet affected. But now it seems to be. this is my test script, that recovers from the situation with an intermediate highlight. # TextEdit must be running with an open text window switchApp("textedit") x = "asdfghjklyxcvbnmqwertzuiop" type("a", Key.CMD) type(Key.BACKSPACE) wait(1) start = time.time() for i in range(50): type(str(int(time.time() - start)) + " ") for c in x: lap = time.time() type(c) if time.time()-lap > 1: getCenter().grow(50).highlight(2) type("\n") After detecting the extended delay, the problem is fixed by the highlight. -- After Upgrade to Sierra the Type Command seems very Slow Is anyone else finding this or is it just my old Mac struggling To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1631720/+subscriptions ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Bug 1631720] Re: [1.1.1] macOS Sierra 10.12: type() gets very slow after about 40 sec runtime - fixed 2016-10-10
how do you run it from command line from mac? -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1631720 Title: [1.1.1] macOS Sierra 10.12: type() gets very slow after about 40 sec runtime - fixed 2016-10-10 Status in Sikuli: Fix Committed Bug description: * RaiMan tested and confirmed after about 40 seconds runtime, the type command pauses about 10 seconds at key release for each following single character/key. This is the same problem as we had with click actions with OSX 10.10. It was caused by some strange behavior of the Java Robot deep inside. At this time, type() was not yet affected. But now it seems to be. this is my test script, that recovers from the situation with an intermediate highlight. # TextEdit must be running with an open text window switchApp("textedit") x = "asdfghjklyxcvbnmqwertzuiop" type("a", Key.CMD) type(Key.BACKSPACE) wait(1) start = time.time() for i in range(50): type(str(int(time.time() - start)) + " ") for c in x: lap = time.time() type(c) if time.time()-lap > 1: getCenter().grow(50).highlight(2) type("\n") After detecting the extended delay, the problem is fixed by the highlight. -- After Upgrade to Sierra the Type Command seems very Slow Is anyone else finding this or is it just my old Mac struggling To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1631720/+subscriptions ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Bug 1631720] Re: [1.1.1] macOS Sierra 10.12: type() gets very slow after about 40 sec runtime - fixed 2016-10-10
If you are running from the IDE then yes I have the same problem Run your Script from the Command Line -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1631720 Title: [1.1.1] macOS Sierra 10.12: type() gets very slow after about 40 sec runtime - fixed 2016-10-10 Status in Sikuli: Fix Committed Bug description: * RaiMan tested and confirmed after about 40 seconds runtime, the type command pauses about 10 seconds at key release for each following single character/key. This is the same problem as we had with click actions with OSX 10.10. It was caused by some strange behavior of the Java Robot deep inside. At this time, type() was not yet affected. But now it seems to be. this is my test script, that recovers from the situation with an intermediate highlight. # TextEdit must be running with an open text window switchApp("textedit") x = "asdfghjklyxcvbnmqwertzuiop" type("a", Key.CMD) type(Key.BACKSPACE) wait(1) start = time.time() for i in range(50): type(str(int(time.time() - start)) + " ") for c in x: lap = time.time() type(c) if time.time()-lap > 1: getCenter().grow(50).highlight(2) type("\n") After detecting the extended delay, the problem is fixed by the highlight. -- After Upgrade to Sierra the Type Command seems very Slow Is anyone else finding this or is it just my old Mac struggling To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1631720/+subscriptions ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Bug 1631720] Re: [1.1.1] macOS Sierra 10.12: type() gets very slow after about 40 sec runtime - fixed 2016-10-10
I think I have the same behavior on my MacbookPro 13(Mid 2012) 10.14.2. I'm using SikuliX.app IDE 1.1.3 This is a console output after several type() [log] ( ⌥ ) TYPE "i" [log] ( ⌥ ) TYPE "i" [log] ( ⌥ ) TYPE "i" [log] ( ⌥ ) TYPE "i" [log] ( ⌥ ) TYPE "i" [log] ( ⌥ ) TYPE "i" [log] ( ⌥ ) TYPE "i" [log] ( ⌥ ) TYPE "i" [debug] KeyPress: extended delay: 8797 [debug] KeyRelease: extended delay: 4588 [log] ( ⌥ ) TYPE "i" [debug] KeyPress: extended delay: 6330 [debug] KeyPress: extended delay: 5550 [debug] KeyRelease: extended delay: 1463 [log] ( ⌥ ) TYPE "i" [log] ( ⌥ ) TYPE "i" [log] ( ⌥ ) TYPE "i" [debug] KeyPress: extended delay: 5343 [debug] KeyRelease: extended delay: 1727 [log] ( ⌥ ) TYPE "i" [log] ( ⌥ ) TYPE "i" [log] ( ⌥ ) TYPE "i" [debug] KeyPress: extended delay: 10010 [debug] KeyRelease: extended delay: 10026 [debug] KeyRelease: extended delay: 10024 [log] ( ⌥ ) TYPE "i" [debug] KeyPress: extended delay: 10019 [debug] KeyPress: extended delay: 10026 [debug] KeyRelease: extended delay: 10021 [debug] KeyRelease: extended delay: 10026 [log] ( ⌥ ) TYPE "i" [debug] KeyPress: extended delay: 10024 [debug] KeyPress: extended delay: 10031 [debug] KeyRelease: extended delay: 10025 [debug] KeyRelease: extended delay: 3913 -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1631720 Title: [1.1.1] macOS Sierra 10.12: type() gets very slow after about 40 sec runtime - fixed 2016-10-10 Status in Sikuli: Fix Committed Bug description: * RaiMan tested and confirmed after about 40 seconds runtime, the type command pauses about 10 seconds at key release for each following single character/key. This is the same problem as we had with click actions with OSX 10.10. It was caused by some strange behavior of the Java Robot deep inside. At this time, type() was not yet affected. But now it seems to be. this is my test script, that recovers from the situation with an intermediate highlight. # TextEdit must be running with an open text window switchApp("textedit") x = "asdfghjklyxcvbnmqwertzuiop" type("a", Key.CMD) type(Key.BACKSPACE) wait(1) start = time.time() for i in range(50): type(str(int(time.time() - start)) + " ") for c in x: lap = time.time() type(c) if time.time()-lap > 1: getCenter().grow(50).highlight(2) type("\n") After detecting the extended delay, the problem is fixed by the highlight. -- After Upgrade to Sierra the Type Command seems very Slow Is anyone else finding this or is it just my old Mac struggling To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1631720/+subscriptions ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Bug 1631720] Re: [1.1.1] macOS Sierra 10.12: type() gets very slow after about 40 sec runtime - fixed 2016-10-10
Enventualy I found out what my problem was - and it was complex My Usage of Sikuli I call Sikuli from Power Manager which enables me to Schedule events to be done After the update to Sierra the typing speed was 5 times slower than before (i.e. Test Script Typing 10 lines of rubbish into textedit 1min 25 Seconds - run direct 20 seconds) Sikuli was called using a command script After working with "Power Manager Support" I found that calling Sikuli using Applescript resolved the issue Posted this in case anyone else has encountered this -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1631720 Title: [1.1.1] macOS Sierra 10.12: type() gets very slow after about 40 sec runtime - fixed 2016-10-10 Status in Sikuli: Fix Committed Bug description: * RaiMan tested and confirmed after about 40 seconds runtime, the type command pauses about 10 seconds at key release for each following single character/key. This is the same problem as we had with click actions with OSX 10.10. It was caused by some strange behavior of the Java Robot deep inside. At this time, type() was not yet affected. But now it seems to be. this is my test script, that recovers from the situation with an intermediate highlight. # TextEdit must be running with an open text window switchApp("textedit") x = "asdfghjklyxcvbnmqwertzuiop" type("a", Key.CMD) type(Key.BACKSPACE) wait(1) start = time.time() for i in range(50): type(str(int(time.time() - start)) + " ") for c in x: lap = time.time() type(c) if time.time()-lap > 1: getCenter().grow(50).highlight(2) type("\n") After detecting the extended delay, the problem is fixed by the highlight. -- After Upgrade to Sierra the Type Command seems very Slow Is anyone else finding this or is it just my old Mac struggling To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1631720/+subscriptions ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp