This isn not really a problem. It might not be directly caused by powershell, but I have encountered this weird phenomenon today. I even got bored and made a small script that clicks in a loop, so nothing serious.
Here is what is weird: When I added a small sleep into the loop to not have my system die due to gorrilions of clicks a second, I noticed a HUGE difference in frequency between:
sleep 0.50001
- it was clearly visible that it was clicking twice a second.
and
sleep 0.5
- was a LOT faster - it felt like at least 10 clicks a second.
I have tested this on the browser "game" cookie clicker to visualize this (okay, and to get rid of some boredom) and it got really obvious there.
To the question: Can anyone explain to me why 0.5
is apparently a lot faster than 0.50001
in powershell?
PS: I have tested it with 0.4
, 0.6
too - its as if 0.5 is the border between normal and subsonic speed.