Skip to content

Commit

Permalink
reset peak before trace mem
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-zhengda committed Oct 22, 2024
1 parent b84e4d8 commit ced3aaa
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ def test_compute_derivative_rows_mem_usage(self):
return

tracemalloc.start()
tracemalloc.reset_peak()

_, peak_before = tracemalloc.get_traced_memory()
sm = StatementMetrics()
Expand Down

0 comments on commit ced3aaa

Please sign in to comment.