The_Noob Posted February 13, 2007 Share Posted February 13, 2007 Ok is this somthing wrong on my behalf, or do scripts run slower in vista? I mean, i have a fair amount of scripts and it seems every single one of em runs slower... Is this just me? or is this a running trend? For things like chat loggers (Logging game chats) I had it loop like every 100 ms... now it seems to take at least 2 or 3 seconds, often as long as 5 or 6 seconds to loop, which can cause problems. I tend to use do loops... is there a site that shows a faster way of making loops? for instance, is having large chunks of code as functions faster than having long if staments? whats faster, do until or while wend? If you can point out some tips, i would apprieate it. And i dont want to post my code, however if you think you can streamline it please PM me or e-mail me and i can send it to you... i would rather my code does not get displayed on the internet at this time. thanks Link to comment Share on other sites More sharing options...
Somerset Posted February 13, 2007 Share Posted February 13, 2007 OK genius... try to build a simple loop and test it. see if it has the same behavior... if it does, then post the example you made that duplicates the behavior.... Link to comment Share on other sites More sharing options...
The_Noob Posted February 14, 2007 Author Share Posted February 14, 2007 lol well a simple loop will be just as fast... i tried that... but my programs that im trying to make run are running a LOT slower on Vista than on XP. Same computer. Thats why im thinking that some commands may take longer than others. Its not the loop per se... but the elements in the loop that i think may be slowing the scripts. Any ideas? Link to comment Share on other sites More sharing options...
Kickassjoe Posted February 14, 2007 Share Posted February 14, 2007 how much RAM does your vista computer have? Vista takes 1GB+ to even run, maybe it is just the speed of your current computer? What goes around comes around... Payback's a bitch. Link to comment Share on other sites More sharing options...
The_Noob Posted February 16, 2007 Author Share Posted February 16, 2007 how much RAM does your vista computer have? Vista takes 1GB+ to even run, maybe it is just the speed of your current computer?2 gigs in this laptop. And 2 60 gig SATA harddrives. And a 2 meg l2 cache. And a G-Force go 7600 graphics card. And a 20.5 inch screen. This laptop is suited pretty well for vista, if only i could get my scripts and progs to work. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 16, 2007 Moderators Share Posted February 16, 2007 (edited) lolwell a simple loop will be just as fast... i tried that... but my programs that im trying to make run are running a LOT slower on Vista than on XP. Same computer. Thats why im thinking that some commands may take longer than others.Its not the loop per se... but the elements in the loop that i think may be slowing the scripts. Any ideas?2 gigs in this laptop. And 2 60 gig SATA harddrives. And a 2 meg l2 cache. And a G-Force go 7600 graphics card. And a 20.5 inch screen. This laptop is suited pretty well for vista, if only i could get my scripts and progs to work.You are running both OS's (XP and Vista) on the same computer both have their own 2 gigs of ram? Edited February 16, 2007 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
The_Noob Posted February 17, 2007 Author Share Posted February 17, 2007 You are running both OS's (XP and Vista) on the same computer both have their own 2 gigs of ram?No i was running XP then i formatted and did a clean install with Vista. The Vista rating system shows my system with a base score of 4.2 to 4.7 depending what im running at the time of the test, and the average is about 5 (out of 5.9) so my system is not to blame...All in all it SHOULD be able to run whatever i want with little or no problems Link to comment Share on other sites More sharing options...
Polyphem Posted February 18, 2007 Share Posted February 18, 2007 I just can second that statement. Installed Vista this weekend, hardware index 5.8, i got a qx6700 with 2 gigs, everythings running smoothly... except my au3 scripts... even starting up the GUI takes 10 seconds, controls are painted one after another... running the script works fine, but it becomes unresponsive for 20 seconds all the time, then response for 5 and becomes unresponsive again (while working )... This post will be edited again by Polyphem: Tomorrow, 11:55 AM Link to comment Share on other sites More sharing options...
lod3n Posted February 18, 2007 Share Posted February 18, 2007 Maybe it has something to do with the fact that Vista is constantly making sure that you aren't ripping Cinderella 4 or something:http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.html [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font] Link to comment Share on other sites More sharing options...
Polyphem Posted February 20, 2007 Share Posted February 20, 2007 Hmmm, i see, i fear it has something to do with my code... maybe the tab controls? or some dll call i made? or some udf i use? i'll try to encircle it and let you know... This post will be edited again by Polyphem: Tomorrow, 11:55 AM Link to comment Share on other sites More sharing options...
Polyphem Posted February 20, 2007 Share Posted February 20, 2007 http://www.autoitscript.com/forum/index.php?showtopic=41428 This post will be edited again by Polyphem: Tomorrow, 11:55 AM Link to comment Share on other sites More sharing options...
The_Noob Posted June 4, 2007 Author Share Posted June 4, 2007 found what was prolly slowing the thing scripts down...http://www.autoitscript.com/forum/index.ph...c=47050&hl=One of the causes anyways. 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