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

feat: implement benching, refactor template #30

Merged
merged 4 commits into from
Oct 21, 2023
Merged

Conversation

fspoettel
Copy link
Owner

@fspoettel fspoettel commented Oct 21, 2023

closes #24
closes #16

Changes in this PR:

  • tiny benchmark implementation. a solution is executed once to initially time it, and then between 10 and 10.000 times depending on initial runtime to determine an avg. runtime.
  • benchmark results can be written to README as a table.
  • moved template code into src/template.
  • remove some of the rust binary crate hacks in favour of a pico-args CLI.
  • move inputs and examples from src into a data folder.

TODO:

  • fix tests
  • update docs

@fspoettel fspoettel marked this pull request as ready for review October 21, 2023 16:40
@fspoettel fspoettel merged commit 70dac93 into main Oct 21, 2023
2 checks passed
@fspoettel fspoettel deleted the feat/time-results branch October 21, 2023 19:08
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.

Being able to store benchmarking metrics RFC: Higher sample count for benching?
1 participant