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

CI: Increase load limit for verdi to 0.5 seconds #5773

Merged
merged 1 commit into from
Nov 16, 2022

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented Nov 16, 2022

Fixes #5771

Recently, the verdi load-time test has been failing frequently because the load time often exceeds the current limit of 0.4 seconds. For now we raise the limit to 0.5 to reduce the false positives while we find a permanent fix of reducing the load time.

@sphuber sphuber requested a review from ltalirz November 16, 2022 19:34
Recently, the verdi load-time test has been failing frequently because
the load time often exceeds the current limit of 0.4 seconds. For now we
raise the limit to 0.5 to reduce the false positives while we find a
permanent fix of reducing the load time.
@sphuber sphuber force-pushed the fix/5771/ci-verdi-load-time-limit branch from 0d37c5f to 77ad804 Compare November 16, 2022 20:00
@sphuber sphuber changed the title CI: Increase load limit for verdi to 0.45 seconds CI: Increase load limit for verdi to 0.5 seconds Nov 16, 2022
Copy link
Member

@ltalirz ltalirz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the fix @sphuber , yes I noticed this as well.

I guess it's not clear whether this change is on the side of the CPU or the code (?)

@sphuber
Copy link
Contributor Author

sphuber commented Nov 16, 2022

I guess it's not clear whether this change is on the side of the CPU or the code (?)

Not sure. Locally, I still get load speeds of ~0.21 seconds. I didn't notice an increase. I tried narrowing down if there are costly calls, but this is always quite finicky and I couldn't really pinpoint a bottleneck. I have also noticed quite a big spread in run times of the unit tests, ranging from ~11 to ~16 minutes. Could be that there is just a big spread in server speed on the GHA runners.

@sphuber sphuber merged commit 5b6b2b2 into aiidateam:main Nov 16, 2022
@sphuber sphuber deleted the fix/5771/ci-verdi-load-time-limit branch November 16, 2022 23:07
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.

Improve the loading time of verdi or increase the limit in the CI workflow
2 participants