feat(perf): measure error and stop automatically when the numbers are go...

...od enough.
if the comment addresses the if statement above, should not it be above the if statement?