Skip to content

Commit ae93c23

Browse files
authored
Add peakmem benchmarks for rolling (#28255)
1 parent 91e5b85 commit ae93c23

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

asv_bench/benchmarks/rolling.py

+3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ def setup(self, constructor, window, dtype, method):
2121
def time_rolling(self, constructor, window, dtype, method):
2222
getattr(self.roll, method)()
2323

24+
def peakmem_rolling(self, constructor, window, dtype, method):
25+
getattr(self.roll, method)()
26+
2427

2528
class ExpandingMethods:
2629

0 commit comments

Comments
 (0)