Skip to content

Commit

Permalink
CI: Add memory/peakmemory benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob-Stevens-Haas committed Aug 1, 2024
1 parent ac62989 commit 3b461ca
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions asv_bench/benchmarks/finite_difference_1D.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,5 @@ def setup(self):
def time_derivative(self):
self.differentiator.d(X=self.t, t=self.t, axis=0)


class MemSuite:
def mem_list(self):
return [0] * 256
def peakmem_derivative(self):
self.differentiator.d(X=self.t, t=self.t, axis=0)

0 comments on commit 3b461ca

Please sign in to comment.