Conversation
Generated via commit c9ebb95 Download link for the artifact containing the test results: ↓ atime-results.zip
|
|
I checked atime results before and after this PR, and they look consistent. The biggest difference is in this test, which is normal because old test code was starting at a custom N=1e3 whereas new test code uses the standard N=1e1 for this case (custom N code deleted). which I made using data from
library(data.table)
bench_dt <- data.table(test_code=c("old","new"))[, {
result_dir <- paste0("atime-results-",test_code)
tests.RData <- file.path(result_dir, "tests.RData")
load(tests.RData)
bench.dt[, .(Test, unit, N, empirical, expr.name)]
}, by=test_code]
library(ggplot2)
gg <- ggplot()+
geom_line(aes(
N, empirical, color=expr.name),
data=bench_dt)+
scale_color_manual(values=atime:::default.version.colors)+
facet_grid(unit ~ Test + test_code, scales="free", labeller=label_both)+
scale_x_log10()+
scale_y_log10()
png("atime-results.png", width=120, height=8, units="in", res=100)
print(gg)
dev.off() |
|
I updated https://github.com/Rdatatable/data.table/wiki/Performance-testing to mention
|
|
@Anirban166 @MichaelChirico @aitap can you please review? |
There was a problem hiding this comment.
A commit is "on a branch" if its common ancestor with the HEAD of the branch is the commit itself:
library(codetools)
w = makeCodeWalker(leaf = \(e, w)
if (is.character(e) && nchar(e) > 4 && grepl('^[0-9a-f]+$', e, perl = TRUE)) {
mergebase = system2('git', c('merge-base', 'master', e), stdout = TRUE)
if (mergebase != e) message(sprintf(
"merge-base(master, %s) = %s", e, mergebase
))
}
)
for (e in parse('.ci/atime/tests.R')) walkCode(e, w)
Looks like we need just one more fix.
Co-authored-by: aitap <krylov.r00t@gmail.com>
Co-authored-by: aitap <krylov.r00t@gmail.com>
|
ok great thanks for the review!! |
|
Also tested manually by applying #7731 on top. |



Closes #7363
Change an atime historical commit from a commit inside a PR branch, to the merge commit of that PR, and deleted branches, in
data.tablecall from as.data.table.array #7019also some more general atime cleanup which should not affect test results: