Sure, better be safe and use a safe comparison method and that's simple enough, but still, how realistic is such an attack over the public internet?
I'm aware of "practical" results: http://crypto.stanford.edu/~dabo/papers/ssl-timing.pdf
But the experiment setup was on a LAN, with AFAICT a single server, no other traffic to that server, and other such conditions.
Of course, I'm not in the field and am happy to learn more. However, my intuition also tells me we should have seen more realistic experiments and results over the years to get a clear picture of the extent at which such an attack is actually feasible and when it seizes to be.
I’d estimate a naive comparison loop to be around 20-30 cycles, for compare and control? And let’s wrap it in 250 cycles more because someone decided to use Python. 300 cycles, then, are about 100ns (tenth of a microsecond).
Not saying it can’t be done with a timing attack over the internet but you’d need a huge sample size.