AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

setbatchlines -1 and imagesearch performance issue

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Jasdeep



Joined: 09 Nov 2009
Posts: 258

PostPosted: Wed Feb 17, 2010 2:23 pm    Post subject: setbatchlines -1 and imagesearch performance issue Reply with quote

hi everybody i want to ask two questions
1)in my project i have around 25 scripts...so is it feasible to add Setbatchlines -1 in all scripts????? ofcourse it runs at maximum speed but i want to know whether it will effect the performance of the script???

2) how imagesearch can be made to perform at high speed? as in my project i search desktop size windows it consumes lot of time to search for particular text or an image.
Back to top
View user's profile Send private message
Murx
Guest





PostPosted: Wed Feb 17, 2010 3:45 pm    Post subject: Reply with quote

Is it for a game?
Back to top
SoLong&Thx4AllTheFish



Joined: 27 May 2007
Posts: 4999

PostPosted: Wed Feb 17, 2010 3:52 pm    Post subject: Reply with quote

No it is for a test suite jasdeep is making see all his other posts Smile
_________________
AHK Wiki FAQ
TF : Text files & strings lib, TF Forum
Back to top
View user's profile Send private message
Guest






PostPosted: Wed Feb 17, 2010 3:53 pm    Post subject: Reply with quote

1. if while running the scripts, your cpu runs at maximum speed. it will lag the performance anyways. also, 25 scripts = 25 process, RAM will affect the overall performance too
2. turn off aero and desktop composition OR use XP will make the imagesearch much quicker (10x+)
Back to top
Jasdeep



Joined: 09 Nov 2009
Posts: 258

PostPosted: Wed Feb 17, 2010 4:14 pm    Post subject: Reply with quote

@Guest thanks a ton
Back to top
View user's profile Send private message
Jasdeep



Joined: 09 Nov 2009
Posts: 258

PostPosted: Wed Feb 17, 2010 4:23 pm    Post subject: Reply with quote

@Murx no its for my Automatic release test project

@hugov good joke
Back to top
View user's profile Send private message
Zaelia



Joined: 31 Oct 2008
Posts: 604
Location: France

PostPosted: Wed Feb 17, 2010 7:59 pm    Post subject: Reply with quote

Computer-> right click -> properties -> Advanced system settings -> Advanced [tab] -> Settings [button] -> Adjust for best performance (or disable all) -> Apply

XP and vista is twins with this option...

use Process, Priority, , High and perhaps #NoEnv #Persistent for best performance
Back to top
View user's profile Send private message Send e-mail
Jasdeep



Joined: 09 Nov 2009
Posts: 258

PostPosted: Thu Feb 18, 2010 6:38 am    Post subject: Reply with quote

@Zaelia
thanks a million i did that in all my scripts and ya #NoEnv #Persistent added prior
Back to top
View user's profile Send private message
Guest






PostPosted: Thu Feb 18, 2010 7:08 am    Post subject: Reply with quote

Zaelia wrote:
XP and vista is twins with this option...

...& they look like shit...(no offense, but they do look ugly with those options)...
Back to top
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group