diff --git a/asv_bench/benchmarks/io/json.py b/asv_bench/benchmarks/io/json.py index b249c92b53e93..5c1d39776b91c 100644 --- a/asv_bench/benchmarks/io/json.py +++ b/asv_bench/benchmarks/io/json.py @@ -118,7 +118,7 @@ def setup(self, orient, frame): def time_to_json(self, orient, frame): getattr(self, frame).to_json(self.fname, orient=orient) - def mem_to_json(self, orient, frame): + def peakmem_to_json(self, orient, frame): getattr(self, frame).to_json(self.fname, orient=orient) def time_to_json_wide(self, orient, frame): @@ -126,7 +126,7 @@ def time_to_json_wide(self, orient, frame): df = concat([base_df.iloc[:100]] * 1000, ignore_index=True, axis=1) df.to_json(self.fname, orient=orient) - def mem_to_json_wide(self, orient, frame): + def peakmem_to_json_wide(self, orient, frame): base_df = getattr(self, frame).copy() df = concat([base_df.iloc[:100]] * 1000, ignore_index=True, axis=1) df.to_json(self.fname, orient=orient)