Testing by repeatedly measuring the execution time of a task is tedious and typically not safe. It is often impossible to prove that the conditions determining maximum execution time have been taken into account.
“Testing, in general, cannot show the absence of errors.” — DO-178B/C
“Testing by itself is not sufficient.” — FDA