8000 add benchmark_from_scratch flag by yhmtsai · Pull Request #1881 · ginkgo-project/ginkgo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

add benchmark_from_scratch flag #1881

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

yhmtsai
Copy link
Member
@yhmtsai yhmtsai commented Jul 7, 2025

This PR allows user to select whether to benchmark the solver from scratch or not.

The previous behavior is to benchmark the solver from scratch every time, which will benchmark the workspace initialization every time.
The proposed behavior is to benchamark the same solver object such that we only need to initialize the workspace in the first run (or warmup).
User can set it --benchmark_from_scratch=true again to benchmark the solver with initialization.

@yhmtsai yhmtsai requested a review from a team July 7, 2025 13:24
@yhmtsai yhmtsai self-assigned this Jul 7, 2025
@yhmtsai yhmtsai added the 1:ST:ready-for-review This PR is ready for review label Jul 7, 2025
@ginkgo-bot ginkgo-bot added reg:benchmarking This is related to benchmarking. type:solver This is related to the solvers labels Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1:ST:ready-for-review This PR is ready for review reg:benchmarking This is related to benchmarking. type:solver This is related to the solvers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0