'Pyautogui click speed

I need more clicking speed using pyautogui, max cps that I got is 75. The only way to increase the speed I found is by changing pyautogui.PAUSE. How can I get more, or there is a limit?



Solution 1:[1]

There is a way related to pyautogui.PAUSE. I tried it, and it worked pretty fast

from pyautogui import *
from time import *

for i in range(10):
    click()
    sleep(0)

Solution 2:[2]

So, the issue you are having is directly related to the hardware. Even if I set pyautogui.PAUSE = 0 my cps is still capped at about 32. You aren't doing anything wrong, as far as I know. But if I did get something wrong, feel free to correct me.

EDIT: OK, I'm stupid. Setting pyautogui.PAUSE = 0 is actually LESS efficient (for me) than setting it to be very low.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 EasyWay Coder
Solution 2 ShadowProgrammer