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

Dry Run Argument #1844

Closed

Conversation

Shaan-Mistry
Copy link
Contributor

Added the functionality for a dry run benchmark called through the cli argument --benchmark_dry_run.

Changes

  • Added boolean flag for --benchmark_dry_run
  • Added overriding logic and early stoping
  • append /dry_run to the benchmark name to indicate there is a dry run
    • ex: BM_StringCreation/dry_run/100/min_time:0.300/repeats:4/threads:4

Please let me know if I need to make any change I will be happy to implement them!

src/benchmark_runner.cc Outdated Show resolved Hide resolved
src/benchmark_runner.cc Outdated Show resolved Hide resolved
src/benchmark_runner.cc Outdated Show resolved Hide resolved
@dmah42
Copy link
Member

dmah42 commented Sep 12, 2024

i tried to make some changes and commit here but it didn't work so they're in #1851. @Shaan-Mistry would you like to make the same changes in your PR and merge them here or are you ok with me merging #1851 (you still get commits in your name .. i don't want to take away from your work).

@Shaan-Mistry
Copy link
Contributor Author

merging #1851 is good with me!

@dmah42
Copy link
Member

dmah42 commented Sep 12, 2024

merged as #1851 .. thank you so much, @Shaan-Mistry !

@dmah42 dmah42 closed this Sep 12, 2024
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