In Minecraft versions prior to 1.9, there is no "attack cooldown." Your hits land as fast as you click.
While the average human can achieve between 5 to 7 CPS with a standard "butterfly" technique, and pro players might push 12-14 CPS with "jitter clicking," there is a threshold that separates mortals from machines: . 40 cps auto clicker