I know this has been explored in the past, but I'm at a loss as what to do here an was hoping someone could help me.
I have a 2k line script that I run on a daily basis. It has about 11 SetTimer's running. The script runs very smooth on my old HP (Win10 16GB RAM i5). I recently purchased a new sager (Win10 32GB RAM i7) and the script performs terribly. Lags on every hotkey/hotstring.
I have tried using the 64 bit version
I have tried setting batch lines to -1
I have tried setting process priority to high
I have tried to "refresh this pc" (basically reinstalls windows)
Seriously, at a loss here. Anyone have any thoughts that might help?
Script Performance
Re: Script Performance
Hard to say. A different anti-virus?
Re: Script Performance
I think it would be good to make sure that there aren't some important drivers missing.
And maybe take a look on the BIOS to see if you see something weird?
And maybe take a look on the BIOS to see if you see something weird?
Re: Script Performance
No. No anto-virus installed on either machine other than Win10's default protection. Thanks.
Good suggestion. I'll take a look. Thanks.safetycar wrote:I think it would be good to make sure that there aren't some important drivers missing.
And maybe take a look on the BIOS to see if you see something weird?
Re: Script Performance
i dont know.
ListLines Off
SetBatchLines, -1
SetKeyDelay, -1, -1
SetWinDelay, -1
SetControlDelay, -1
Process, Priority,, H
Critical , On
ListLines Off
SetBatchLines, -1
SetKeyDelay, -1, -1
SetWinDelay, -1
SetControlDelay, -1
Process, Priority,, H
Critical , On
github>g_IntelliSense + next improvements + forum
ahk..org>onlineAHKprettyfy, ahk..com>Refactoring
ahk..com>newposts Unanswrd myposts, Donations are appreciated if I could help you
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
ahk..org>onlineAHKprettyfy, ahk..com>Refactoring
ahk..com>newposts Unanswrd myposts, Donations are appreciated if I could help you
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
Re: Script Performance
All good suggestions. Am I the only one who finds it weird that a bigger better badder computer performs worse than the older, not so crappy, but not as good computer?
Re: Script Performance
Far fetched, but wouldn't be the first time I've seen a high DPC latency create a chain reaction. Check it if you want to make sure.
Example of something you can use.
https://www.thesycon.de/eng/latency_check.shtml
Example of something you can use.
https://www.thesycon.de/eng/latency_check.shtml
Re: Script Performance
SSD vs. HDD?
Re: Script Performance
Thanks! I will.coffee wrote: ↑16 Feb 2019, 21:54Far fetched, but wouldn't be the first time I've seen a high DPC latency create a chain reaction. Check it if you want to make sure.
Example of something you can use.
https://www.thesycon.de/eng/latency_check.shtml
Both are SSD.just me wrote:SSD vs. HDD?
Re: Script Performance
Without any hint as to what your script is doing it will be hard to tell where the performance is lost.
e.g. when you use a lot of FileAppends this topic might be interesting:
https://www.autohotkey.com/boards/viewtopic.php?f=74&t=61853
e.g. when you use a lot of FileAppends this topic might be interesting:
https://www.autohotkey.com/boards/viewtopic.php?f=74&t=61853
Recommends AHK Studio
Re: Script Performance
I would expect debugging would be easy if you can immediately determine whether the script performs poorly or not? What happens when you disable all timers? Do stand alone scripts with a single test hotkey performs bad as well?
Re: Script Performance
I had the same thought too. Even a simple script with 1 hotstring took almost a second (in some cases more) to execute. I tried different versions as well. That along with other issues not related to AHK, I have decided to return the machine. Thanks everyone for your input.
Who is online
Users browsing this forum: Google [Bot], mikeyww, newbieforever, RussF and 159 guests