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

Cache cocotb-config #641

Merged
merged 3 commits into from
Apr 2, 2024
Merged

Cache cocotb-config #641

merged 3 commits into from
Apr 2, 2024

Conversation

tilk
Copy link
Member

@tilk tilk commented Apr 2, 2024

It turns out that cocotb-config, which is run multiple times for each cocotb run, has quite a lot of overhead. Thankfully, for a given installation, it always returns the same values, so they can be cached. This PR drastically reduces regression test run time, especially on multicore machines.

@tilk tilk added infrastructure CI, testing, etc. optimization This is *just* an optimization! labels Apr 2, 2024
@tilk tilk merged commit 5cc1cbc into master Apr 2, 2024
8 checks passed
@tilk tilk deleted the tilk/cache-cocotb-config branch April 2, 2024 20:03
github-actions bot pushed a commit that referenced this pull request Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure CI, testing, etc. optimization This is *just* an optimization!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants