> isMatch = false;
That instruction is executed conditionally, you can time it.
Maybe eliminate the if completely an do something like this
...
for (var i = 0; i < inputKey.length; i++)
isMatch = isMatch && (inputKey.charAt(i) !== correctKey.charAt(i)
}
...