VixinG Posted October 20, 2012 Share Posted October 20, 2012 Hey geniuses ! I'm back with a question, why script working on my old PC with a lot of PixelGetColors (about 25 per second) works flawlessly, where one loop (one run of the script) takes 100ms and on my brand new PC (i5-3570k, 8gb memory, intel hd 4000 graphics) is very slow and it's taking about 850ms?I have Windows 7 64-bit version. I turned off all themes and improved all for best performance, disabled Aero, and still, it doesn't help much, still about 220 ms...When I disable (;) all PixelGetColor functions, it executes fast and nice, doing it in right time, so it's something with GDI+ I believe. Am I wrong?I would like to continue my project on new PC. Can you give me some clues, help, examples how to fix that issue?Thanks a lot VixinG [indent=3][/indent] Link to comment Share on other sites More sharing options...
Aarstad Posted October 21, 2012 Share Posted October 21, 2012 Try adjust the resolution a bit lower and see if that helps. Link to comment Share on other sites More sharing options...
VixinG Posted October 22, 2012 Author Share Posted October 22, 2012 (edited) It didn't help :/ it's a little bit faster after some improvements, but still slower than on my 10-years-old PC. All it does is loop of pixelgetcolors. Can't go further because of that problem. Edited October 22, 2012 by VixinG [indent=3][/indent] Link to comment Share on other sites More sharing options...
JohnOne Posted October 22, 2012 Share Posted October 22, 2012 Does the issue persist just checking pixels on an empty notepad window? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
VixinG Posted October 26, 2012 Author Share Posted October 26, 2012 It happens only with pixel related functions like pixelgetcolor or pixelsearch etc. They are slow in loop, but it can be because I have Intel HD Graphics 4000 and it's kind of slow, but I have tuned it up to 1600 Mhz and 1024 mb memory. Still pretty slow compared to my old computer. [indent=3][/indent] Link to comment Share on other sites More sharing options...
ahha Posted October 27, 2012 Share Posted October 27, 2012 Check out the Q&A at:last entry. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now