Skip to content

Commit d80a4d0

Browse files
mroeschkeproost
authored andcommitted
Add peakmem benchmarks for rolling (pandas-dev#28255)
1 parent c6fdd80 commit d80a4d0

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)