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

Not for merging: benchmarking generate infections #415

Closed
wants to merge 4 commits into from

Conversation

sbfnk
Copy link
Contributor

@sbfnk sbfnk commented Jul 4, 2023

Two experiments:

  1. Replace exponential with multiplications (exp)
  2. Initialise vectors to zero and replace sums with assignments (zero) - enabled by cd2e738 (#366)
> summary %>% filter(name == "infections")
# A tibble: 3 × 7
  model name        mean   low  high lower higher
  <chr> <chr>      <dbl> <dbl> <dbl> <dbl>  <dbl>
1 main  infections  8.18  7.93  8.39  7.86   8.53
2 exp   infections  7.85  7.61  8.10  7.56   8.30
3 zero  infections  6.26  6.11  6.44  6.01   6.50

Both appear to lead to speed ups and, I think, would be good changes to implement.

@sbfnk
Copy link
Contributor Author

sbfnk commented Feb 2, 2024

Once #537 is merged this can just add the profiling bits added for further exploration.

@sbfnk
Copy link
Contributor Author

sbfnk commented Mar 15, 2024

Closing as superseded by #614

@sbfnk sbfnk closed this Mar 15, 2024
@sbfnk sbfnk mentioned this pull request Mar 15, 2024
7 tasks
@sbfnk sbfnk deleted the benchmark-infections branch May 3, 2024 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants