From eb6c9e74dc339348ad63cd06530fcc81083cc27b Mon Sep 17 00:00:00 2001 From: Dan Norman Date: Tue, 8 Aug 2023 15:05:56 -0700 Subject: [PATCH] clear _stop_time after lap is calculated --- singer_sdk/helpers/_perftimer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/singer_sdk/helpers/_perftimer.py b/singer_sdk/helpers/_perftimer.py index 5711270b8..08b63f4ea 100644 --- a/singer_sdk/helpers/_perftimer.py +++ b/singer_sdk/helpers/_perftimer.py @@ -45,6 +45,7 @@ def stop(self) -> None: self._stop_time = time.perf_counter() self._lap_time = self._stop_time - self._start_time self._start_time = None + self._stop_time = None class BatchPerfTimer(PerfTimer):