iqm.benchmarks.utils.timeit

Contents

iqm.benchmarks.utils.timeit#

iqm.benchmarks.utils.timeit(f)#

Calculates the amount of time a function takes to execute

Parameters:

f – The function to add the timing attribute to

Returns:

The decorated function execution with logger statement of elapsed time in execution