Skip to content

Commit

Permalink
clear _stop_time after lap is calculated
Browse files Browse the repository at this point in the history
  • Loading branch information
BuzzCutNorman committed Aug 8, 2023
1 parent 8a591c1 commit eb6c9e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions singer_sdk/helpers/_perftimer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit eb6c9e7

Please sign in to comment.