Skip to content

RUBY-3314 Implement variable iterations for benchmarks #2771

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

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

jamis
Copy link
Contributor

@jamis jamis commented Aug 14, 2023

The spec requires that each benchmark use a variable number of iterations:

Unless otherwise specified, the number of iterations to measure per micro-benchmark is variable:

  • iterations should loop for at least 1 minute cumulative execution time
  • iterations should stop after 100 iterations or 5 minutes cumulative execution time, whichever is shorter

@jamis jamis requested a review from comandeo August 14, 2023 18:30
@jamis jamis merged commit 4bde723 into mongodb:master Aug 17, 2023
@jamis jamis deleted the 3314-benchmark-variable-iterations branch August 17, 2023 14:08
comandeo pushed a commit to comandeo/mongo-ruby-driver that referenced this pull request Jan 24, 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