Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TEST-#2601: reduce data size for some asv tests #2602

Merged
merged 1 commit into from
Jan 15, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions asv_bench/benchmarks/benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,16 @@ def setup(self, data_size, ncols=1):

class TimeMultiColumnGroupby(BaseTimeGroupBy):
param_names = ["data_size", "ncols"]
params = [UNARY_OP_DATA_SIZE, [6]]
params = [
[
(5000, 5000),
(10_000, 10),
# TODO: after optimization try to use UNARY_OP_DATA_SIZE here
]
if ASV_DATASET_SIZE == "Big"
else UNARY_OP_DATA_SIZE,
[6],
]

def time_groupby_agg_quan(self, data_size, ncols):
execute(self.df.groupby(by=self.groupby_columns).agg("quantile"))
Expand Down Expand Up @@ -150,7 +159,13 @@ def time_join(self, data_size, how, sort):
class TimeMerge:
param_names = ["data_size", "how", "sort"]
params = [
BINARY_OP_DATA_SIZE,
[
(5000, 5000, 5000, 5000),
(125_000, 15, 100_000, 10),
# TODO: after optimization try to use BINARY_OP_DATA_SIZE here
]
if ASV_DATASET_SIZE == "Big"
else BINARY_OP_DATA_SIZE,
["left", "inner"],
[False],
]
Expand Down