I've been reading suggestions to use time-consuming formulas for checking passwords from login attempts, so that repeated attacks will be slowed down.
Wouldn't it suffice to just sleep a bit in the function that does the password checking?
Simplified example:
function check_password($user) {
usleep(1000);
return crypt($_POST["password"], $user->password) == $user->password;
}