-
Notifications
You must be signed in to change notification settings - Fork 1k
DT[by] performance test improvement #7687
Copy link
Copy link
Closed
Labels
atimeRequests related to adding/improving/monitoring performance regression tests via atime.Requests related to adding/improving/monitoring performance regression tests via atime.
Description
I see HEAD and base are much faster than others (right bottom panel).
But it seems to take more memory. (upper right panel)
Did somebody improve join max/min/aggregation speed recently? Which PR? We should add a commit from that PR, or from current master, to that atime test case, so we can maintain this speed improvement, going forward.
The code for the test case which uses more memory and is faster:
"DT[by] fixed in #4558" = atime::atime_test(
setup = {
N9 <- as.integer(N * 0.9)
d <- data.table(
id = sample(c(seq.int(N9), sample(N9, N-N9, TRUE))),
v1 = sample(5L, N, TRUE),
v2 = sample(5L, N, TRUE)
)
},
expr = data.table:::`[.data.table`(d, , max(v1) - min(v2), by = id),Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
atimeRequests related to adding/improving/monitoring performance regression tests via atime.Requests related to adding/improving/monitoring performance regression tests via atime.