contexttimer (pypi): A timer context manager measuring the clock wall time of the code block it contains.
Keywords: time|timer