Skip to content

Commit c7e412c

Browse files
authored
Added an atime test for performance improvement in transform() brought by #5493 (#6515)
1 parent 0e257a8 commit c7e412c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.ci/atime/tests.R

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,5 +166,16 @@ test.list <- atime::atime_test_list(
166166
Slow = "a01f00f7438daf4612280d6886e6929fa8c8f76e", # Parent of the first commit (https://github.com/Rdatatable/data.table/commit/fc0c1e76408c34a8482f16f7421d262c7f1bde32) in the PR (https://github.com/Rdatatable/data.table/pull/6296/commits) that fixes the issue
167167
Fast = "f248bbe6d1204dfc8def62328788eaadcc8e17a1"), # Merge commit of the PR (https://github.com/Rdatatable/data.table/pull/6296) that fixes the issue
168168

169+
# Issue mentioned and fixed in: https://github.com/Rdatatable/data.table/pull/5493
170+
"transform improved in #5493" = atime::atime_test(
171+
N = 10^seq(1, 7),
172+
setup = {
173+
df <- data.frame(x = runif(N))
174+
dt <- as.data.table(df)
175+
},
176+
expr = data.table:::transform.data.table(dt, y = round(x)),
177+
Slow = "0895fa247afcf6b38044bd5f56c0d209691ddb31", # Parent of the first commit (https://github.com/Rdatatable/data.table/commit/93ce3ce1373bf733ebd2036e2883d2ffe377ab58) in the PR (https://github.com/Rdatatable/data.table/pull/5493/commits) that fixes the issue
178+
Fast = "2d1a0575f87cc50e90f64825c30d7a6cb6b05dd7"), # Merge commit of the PR (https://github.com/Rdatatable/data.table/pull/5493) that fixes the issue
179+
169180
NULL)
170181
# nolint end: undesirable_operator_linter.

0 commit comments

Comments
 (0)