A decorator for timing. From microseconds to days. Usage: from timimgdecorator.timeit import timeit @timeit def function_to_time(): pass Based on the work of Andreas Jung