Python TestedTime a block of code with a context managerMeasure elapsed wall-clock time of a with-block using time.perf_counter.