Add simple error checking in timing test to avoid false results.

This way the though put would be 0 instead of some amazingly
fast number.
1 file changed