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

Add timeout to benchmark solution runs #977

Merged
merged 1 commit into from
Sep 14, 2024

Conversation

rbergen
Copy link
Contributor

@rbergen rbergen commented Sep 13, 2024

Description

I've found that on certain systems/in certain situations, benchmark runs can get stuck for reasons that are unclear. This adds a timeout for each of the solution runs kicked off during the benchmark.

The default timeout is 10 minutes, this can be changed by a new make variable that's also been added to the documentation.

Contributing requirements

  • I read the contribution guidelines in CONTRIBUTING.md.
  • I placed my solution in the correct solution folder.
  • I added a README.md with the right badge(s).
  • I added a Dockerfile that builds and runs my solution.
  • I selected drag-race as the target branch.
  • All code herein is licensed compatible with BSD-3.

@rbergen
Copy link
Contributor Author

rbergen commented Sep 13, 2024

Merging after out-of-band review by @davepl.

@rbergen rbergen merged commit d229a8c into PlummersSoftwareLLC:drag-race Sep 14, 2024
165 checks passed
rbergen added a commit that referenced this pull request Oct 20, 2024
* Use latest Julia version to represent current performance (#972)

* Use latest Julia version to represent current performance

* Use latest stable 1.X version

* Add timeout to benchmark solution runs (#977)

* Added formatting and removed deprecated attributes syntax (#982)

Co-authored-by: Tudor Marghidanu <tudor@f2pool.io>

---------

Co-authored-by: Christian Guinard <28689358+christiangnrd@users.noreply.github.com>
Co-authored-by: Tudor Marghidanu <marghidanu@users.noreply.github.com>
Co-authored-by: Tudor Marghidanu <tudor@f2pool.io>
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.

1 participant