Simple tools for timing functions’ execution, when IPython is not available.
Adaptively measure execution time of a function.