-
Notifications
You must be signed in to change notification settings - Fork 991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
performance test cleanup: link original benchmarks, use common N #6527
Conversation
this PR also shortens the name of the CI job to "atime performance tests" (previous name was too long to read status/time on PR page) |
Generated via commit ab41ab9 Download link for the artifact containing the test results: ↓ atime-results.zip Time taken to finish the standard R installation steps: 3 minutes and 22 seconds Time taken to run |
@@ -40,6 +40,7 @@ for (extra.arg in extra.args.6107){ | |||
# @note Please check https://github.com/tdhock/atime/blob/main/vignettes/data.table.Rmd for more information. | |||
# nolint start: undesirable_operator_linter. ':::' needed+appropriate here. | |||
test.list <- atime::atime_test_list( | |||
N = as.integer(10^seq(1, 7, by=0.25)), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WDYT about naming like N_grid
or commonN
to make it more obvious that this is a constant defined & re-used here? I sorry with just plain N
that it might take a bit longer to catch on to that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll add a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, feel free to submit now or after the suggested change!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
thanks! |
Hi!
While reviewing/adding a performance test recently, #6526 I noticed that most other performance tests originated from issues/prs in which users reported
system.time
benchmarks, so this PR adds links to these comments.And I updated the wiki to include instructions to do this for future performance tests: "Also if there is some issue/PR comment with benchmark code that was used to derive the atime test, please include a link, as above
test case adapted from https://github.com/Rdatatable/data.table/pull/4501#issue-625311918 which is the fix PR.
"This PR also adds a common N which should be reasonable for any test,
N = 10^seq(1, 7, by=0.25),