Skip to content

Commit d40edb8

Browse files
committed
restore test nums
1 parent 4544398 commit d40edb8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

inst/tests/benchmark.Rraw

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,10 @@ test(301.1, nrow(DT[,sum(B),by=C])==100010)
193193
set.seed(1)
194194
DT = data.table(a=sample(1:100, 1e6, replace=TRUE), b=sample(1:1000, 1e6, replace=TRUE), key="a")
195195
opt = c(0L,2L)
196-
optimization=opt, copy(DT)[, m:=sum(b), by=a][1:3], data.table(a=1L, b=c(156L, 808L, 848L), m=DT[J(1), sum(b)], key="a"))
197-
optimization=opt, key(copy(DT)[J(43L), a:=99L]), NULL)
196+
test(637.1, optimization=opt, copy(DT)[, m:=sum(b), by=a][1:3], data.table(a=1L, b=c(156L, 808L, 848L), m=DT[J(1), sum(b)], key="a"))
197+
test(637.2, optimization=opt, key(copy(DT)[J(43L), a:=99L]), NULL)
198198
setkey(DT, a)
199-
optimization=opt, key(copy(DT)[, a:=99L, by=a]), NULL)
199+
test(637.3, optimization=opt, key(copy(DT)[, a:=99L, by=a]), NULL)
200200

201201
# Test X[Y] slowdown, #2216
202202
# Many minutes in 1.8.2! Now well under 1s, but 10s for very wide tolerance for CRAN. We'd like CRAN to tell us if any changes

0 commit comments

Comments
 (0)