Maybe not that surprising that it is a matter of milliseconds. Would probably be possible to create a script that analyses an earnings report and make a decision in about a second or two, but probably not fast enough then :)
Let's assume that big earning surprises affects stock prices. But how long time after the quarterly/yearly report has been released do this show in the price of the stock? Is it generally shown after a few milliseconds, minutes or longer?