In 500μs, you can do all kinds of stuff.

Checking 2 ports at 20mhz shouldn't take more than 1-2μs. but I guess it depends on what you want to do with it after that.
<br>