From 3b461ca21f7443e0e3e41d9d521c335ada4db380 Mon Sep 17 00:00:00 2001 From: Jake <37048747+Jacob-Stevens-Haas@users.noreply.github.com> Date: Wed, 31 Jul 2024 20:07:50 -0700 Subject: [PATCH] CI: Add memory/peakmemory benchmarks --- asv_bench/benchmarks/finite_difference_1D.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/asv_bench/benchmarks/finite_difference_1D.py b/asv_bench/benchmarks/finite_difference_1D.py index d56b67e..d31149a 100644 --- a/asv_bench/benchmarks/finite_difference_1D.py +++ b/asv_bench/benchmarks/finite_difference_1D.py @@ -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)