A (BSD licensed) context manager for timing execution.