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

Use broadcasting vs loop in day of week #746

Merged
merged 4 commits into from
Aug 27, 2024
Merged

Use broadcasting vs loop in day of week #746

merged 4 commits into from
Aug 27, 2024

Conversation

seabbs
Copy link
Contributor

@seabbs seabbs commented Aug 14, 2024

Description

This PR is unrelated to an issue. It switches to using broadcasting vs a loop in the day of the week module.

Initial submission checklist

  • My PR is based on a package issue and I have explicitly linked it.
  • I have tested my changes locally (using devtools::test() and devtools::check()).
  • I have added or updated unit tests where necessary.
  • I have updated the documentation if required and rebuilt docs if yes (using devtools::document()).
  • I have followed the established coding standards (and checked using lintr::lint_package()).
  • I have added a news item linked to this PR.

After the initial Pull Request

  • I have reviewed Checks for this PR and addressed any issues as far as I am able.

Copy link
Contributor

This is how benchmark results would change (along with a 95% confidence interval in relative change) if 977a5ac is merged into main:

  • ✔️default: 42.9s -> 44.2s [-13.31%, +19.18%]
  • ✔️no_delays: 53.1s -> 49.1s [-28.88%, +14.02%]
  • ✔️random_walk: 10.7s -> 9.6s [-27.18%, +6.49%]
  • ✔️stationary: 20.6s -> 20.8s [-7.12%, +9.02%]
  • ✔️uncertain: 1.04m -> 1.06m [-19.93%, +23.17%]
    Further explanation regarding interpretation and methodology can be found in the documentation.

@seabbs seabbs enabled auto-merge August 14, 2024 21:52
Copy link
Contributor

This is how benchmark results would change (along with a 95% confidence interval in relative change) if ee563b4 is merged into main:

  • ✔️default: 43.4s -> 44.5s [-16.88%, +21.58%]
  • 🚀no_delays: 54.8s -> 47s [-25.02%, -3.29%]
  • ✔️random_walk: 9.87s -> 9.85s [-8.01%, +7.5%]
  • ✔️stationary: 21.5s -> 20.4s [-18.91%, +8.72%]
  • ✔️uncertain: 1.26m -> 1.19m [-24.23%, +13.31%]
    Further explanation regarding interpretation and methodology can be found in the documentation.

@seabbs seabbs mentioned this pull request Aug 15, 2024
7 tasks
Copy link
Contributor

This is how benchmark results would change (along with a 95% confidence interval in relative change) if 71a4daa is merged into main:

  • 🚀default: 49.3s -> 38.9s [-35.04%, -6.91%]
  • ✔️no_delays: 52.3s -> 49.9s [-23.7%, +14.4%]
  • ✔️random_walk: 11s -> 9.31s [-34.44%, +3.28%]
  • ✔️stationary: 1.83m -> 19.3s [-267.96%, +102.95%]
  • ✔️uncertain: 1.11m -> 1.17m [-6.85%, +17.54%]
    Further explanation regarding interpretation and methodology can be found in the documentation.

jamesmbaazam
jamesmbaazam previously approved these changes Aug 23, 2024
Copy link
Contributor

@jamesmbaazam jamesmbaazam left a comment

Choose a reason for hiding this comment

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

LGTM

@seabbs seabbs added this pull request to the merge queue Aug 27, 2024
Copy link
Contributor

This is how benchmark results would change (along with a 95% confidence interval in relative change) if dbc0eb8 is merged into main:

  • ✔️default: 47.1s -> 44.8s [-30.97%, +21.28%]
  • ✔️no_delays: 49.3s -> 48.3s [-10.35%, +6.46%]
  • ✔️random_walk: 10.3s -> 10.1s [-7.25%, +4.18%]
  • ✔️stationary: 22.1s -> 19.8s [-21.08%, +0.38%]
  • ✔️uncertain: 1.17m -> 1.09m [-30.29%, +17.5%]
    Further explanation regarding interpretation and methodology can be found in the documentation.

Merged via the queue into main with commit 5dac0b7 Aug 27, 2024
13 checks passed
@seabbs seabbs deleted the broadcast-dayofweek branch August 27, 2024 14:23
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.

2 participants