Skip to content

Commit 2a8ec39

Browse files
committed
Adds atime test
1 parent 8397dc3 commit 2a8ec39

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.ci/atime/tests.R

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,4 +252,19 @@ test.list <- atime::atime_test_list(
252252
PR = "3630413ae493a5a61b06c50e80d166924d2ef89a"), # Close-to-last merge commit in the PR.
253253

254254
tests=extra.test.list)
255+
256+
257+
# Test case created directly using the atime code below (not adapted from any other benchmark), based on the issue/fix PR https://github.com/Rdatatable/data.table/pull/5054#issue-930603663 "melt should be more efficient when there are missing input columns."
258+
"as.data.table.array improved in #7010" = atime::atime_test(
259+
setup = {
260+
dims = c(50, 50, 300, 10)
261+
arr = array(1:prod(dims), dim = dims)
262+
},
263+
expr = data.table:::as.data.table(arr),
264+
Slow = "73d79edf8ff8c55163e90631072192301056e336",
265+
Fast = "8397dc3c993b61a07a81c786ca68c22bc589befc"), # Merge commit of the PR (https://github.com/Rdatatable/data.table/pull/5054) that fixes the issue # Test case created directly using the atime code below (not adapted from any other benchmark), based on the issue/fix PR https://github.com/Rdatatable/data.table/pull/5054#issue-930603663 "melt should be more efficient when there are missing input columns."
266+
255267
# nolint end: undesirable_operator_linter.
268+
269+
270+

0 commit comments

Comments
 (0)