A new class should be created to allow computing the minimum, maximum and average time a function executes.