ridiculousfish/one-second-dash

reaction time slow

tfriedel opened this issue · 3 comments

Hi,
I notice a delay of around 3 seconds between the press of the dash button and the reaction of the script. Is there anything to improve this?
Also I notice the dash button then starts to blink red for a couple of seconds during which pressing it again will have no effect. I guess we have to live with this?

In my tests, the script activates in less than a second. How are you measuring the three second delay?

The red blink is Dash complaining that it can't connect to the Internet. Perhaps a more elaborate script could fake a proxy or something to avoid this. Contributions welcome :)

I measrued with a stop watch. Ok tried it again, and it responded in 1.7 sec this time. I've also read there are two hardware revisions out. I have JK29LP. Mabye the older one responds faster?

Did you determine when it responded based on the log, or some other queue (e.g. a sound play)? The reason I ask is that initializing the audio hardware and loading the sound file itself can take a surprisingly long time.