Skip to content
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

Merged
merged 8 commits into from
Sep 24, 2024

Conversation

tdhock
Copy link
Member

@tdhock tdhock commented Sep 24, 2024

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),

@tdhock
Copy link
Member Author

tdhock commented Sep 24, 2024

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)

Copy link

github-actions bot commented Sep 24, 2024

Comparison Plot

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 atime::atime_pkg on the tests: 9 minutes and 29 seconds

@@ -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)),
Copy link
Member

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.

Copy link
Member Author

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

Copy link
Member

@MichaelChirico MichaelChirico left a 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!

Copy link
Member

@Anirban166 Anirban166 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@tdhock
Copy link
Member Author

tdhock commented Sep 24, 2024

thanks!

@tdhock tdhock merged commit 745160d into master Sep 24, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants