Activity log for bug #1433454

Date Who What changed Old value New value Message
2015-03-18 07:13:45 RaiMan bug added bug
2015-03-18 07:13:57 RaiMan sikuli: status New In Progress
2015-03-18 07:14:02 RaiMan sikuli: importance Undecided High
2015-03-18 07:14:05 RaiMan sikuli: assignee RaiMan (raimund-hocke)
2015-03-18 07:14:08 RaiMan sikuli: milestone 1.1.0
2015-03-18 11:16:40 RaiMan description Using os x 10.10.2, and sikuli 1.1.0 build. I'm pretty new to sikuli, but have created about a 70 line script. basic stuff, click on this button, type a short command, etc. however about 40-50 instructions in (not always at the same spot), performance *suddenly* slows to a crawl where each instruction can take almost 15 seconds to execute. i searched around and couldn't come up w/ anything. thoughts? ******** did some testing with Mac OS X 10.10.2 Java 1.8.0_20 (64-Bit) SikuliX version 1.1.0 (build 201503181055) The script (run from the IDE) has a loop, where a new Mail is opened, some clicks and types are done and the mail is closed with do-not-save. The 50 loop-turns ran with constant speed to the end. I could not see any slowdown effects here. with this script ------- switchApp("Mail") newMail = "newMail.png" anhang = "anhang.png" nosave = "nosave.png" for i in range(50): start = time.time() click(newMail) win = App.focusedWindow() win.highlight(1) win.click(anhang) wait(2) type(Key.ESC) ref = win.getLastMatch() an = ref.offset(50,35) betreff = an.offset(0, 70) memo = an.offset(0, 150) click(an) type("a", Key.CMD); type(Key.BACKSPACE) type("rhock"); wait(1); type(Key.ENTER) click(betreff) type("a", Key.CMD); type(Key.BACKSPACE) type("this is some test"); wait(1) click(memo) type("a", Key.CMD); type(Key.BACKSPACE) type("this is some test\n"); type("this is some test\n"); type("this is some test\n"); type("this is some test\n"); wait(2) type("w", Key.CMD) win.click(nosave) wait(2) print int(time.time()-start) ------- Using os x 10.10.2, and sikuli 1.1.0 build. I'm pretty new to sikuli, but have created about a 70 line script. basic stuff, click on this button, type a short command, etc. however about 40-50 instructions in (not always at the same spot), performance *suddenly* slows to a crawl where each instruction can take almost 15 seconds to execute. i searched around and couldn't come up w/ anything. thoughts?
2015-03-18 11:17:51 RaiMan description ******** did some testing with Mac OS X 10.10.2 Java 1.8.0_20 (64-Bit) SikuliX version 1.1.0 (build 201503181055) The script (run from the IDE) has a loop, where a new Mail is opened, some clicks and types are done and the mail is closed with do-not-save. The 50 loop-turns ran with constant speed to the end. I could not see any slowdown effects here. with this script ------- switchApp("Mail") newMail = "newMail.png" anhang = "anhang.png" nosave = "nosave.png" for i in range(50): start = time.time() click(newMail) win = App.focusedWindow() win.highlight(1) win.click(anhang) wait(2) type(Key.ESC) ref = win.getLastMatch() an = ref.offset(50,35) betreff = an.offset(0, 70) memo = an.offset(0, 150) click(an) type("a", Key.CMD); type(Key.BACKSPACE) type("rhock"); wait(1); type(Key.ENTER) click(betreff) type("a", Key.CMD); type(Key.BACKSPACE) type("this is some test"); wait(1) click(memo) type("a", Key.CMD); type(Key.BACKSPACE) type("this is some test\n"); type("this is some test\n"); type("this is some test\n"); type("this is some test\n"); wait(2) type("w", Key.CMD) win.click(nosave) wait(2) print int(time.time()-start) ------- Using os x 10.10.2, and sikuli 1.1.0 build. I'm pretty new to sikuli, but have created about a 70 line script. basic stuff, click on this button, type a short command, etc. however about 40-50 instructions in (not always at the same spot), performance *suddenly* slows to a crawl where each instruction can take almost 15 seconds to execute. i searched around and couldn't come up w/ anything. thoughts? ******** did some testing with Mac OS X 10.10.2 Java 1.8.0_20 (64-Bit) SikuliX version 1.1.0 (build 201503181055) The script (run from the IDE) has a loop, where a new Mail is opened, some clicks and types are done and the mail is closed with do-not-save. The 50 loop-turns ran with constant speed to the end. (elapsed time about 15 minutes) I could not see any slowdown effects here. with this script ------- switchApp("Mail") newMail = "newMail.png" anhang = "anhang.png" nosave = "nosave.png" for i in range(50):   start = time.time()   click(newMail)   win = App.focusedWindow()   win.highlight(1)   win.click(anhang)   wait(2)   type(Key.ESC)   ref = win.getLastMatch()   an = ref.offset(50,35)   betreff = an.offset(0, 70)   memo = an.offset(0, 150)   click(an)   type("a", Key.CMD); type(Key.BACKSPACE)   type("rhock"); wait(1); type(Key.ENTER)   click(betreff)   type("a", Key.CMD); type(Key.BACKSPACE)   type("this is some test"); wait(1)   click(memo)   type("a", Key.CMD); type(Key.BACKSPACE)   type("this is some test\n");   type("this is some test\n");   type("this is some test\n");   type("this is some test\n");   wait(2)   type("w", Key.CMD)   win.click(nosave)   wait(2)   print int(time.time()-start) ------- Using os x 10.10.2, and sikuli 1.1.0 build. I'm pretty new to sikuli, but have created about a 70 line script. basic stuff, click on this button, type a short command, etc. however about 40-50 instructions in (not always at the same spot), performance *suddenly* slows to a crawl where each instruction can take almost 15 seconds to execute. i searched around and couldn't come up w/ anything. thoughts?
2015-04-30 06:14:21 RaiMan marked as duplicate 1447096
2015-05-02 13:56:48 Rayan bug added subscriber Rayan
2017-12-21 08:23:31 RaiMan changed duplicate marker 1447096 1739534