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

Speed up local make test runs #458

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

Alex-Fischman
Copy link
Contributor

This PR enables incremental builds for release mode to speed up hot runs of make test. It also turns off incremental builds in CI, following the advice of this blog post.

@Alex-Fischman Alex-Fischman requested a review from a team as a code owner October 30, 2024 22:51
@Alex-Fischman Alex-Fischman requested review from mwillsey and saulshanabrook and removed request for a team and mwillsey October 30, 2024 22:51
Copy link

codspeed-hq bot commented Oct 30, 2024

CodSpeed Performance Report

Merging #458 will not alter performance

Comparing Alex-Fischman:fast-build (76aa8a5) with main (225d0a1)

Summary

✅ 8 untouched benchmarks

Copy link
Member

@saulshanabrook saulshanabrook left a comment

Choose a reason for hiding this comment

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

Thank you for this!

I did some testing and on main when I run make test and then add a newline somewhere, and re-run it, the time to compile is 1m 56s Then with this PR the incremental time is 7s! Compared with the time to actually run tests and doctests after they are compiled which is only 8s on my machine.

It looks like our cache action will set this env variable already but it seems like no harm in making it explicit.

@saulshanabrook saulshanabrook merged commit 4cae848 into egraphs-good:main Oct 31, 2024
5 checks passed
@Alex-Fischman Alex-Fischman deleted the fast-build branch October 31, 2024 15:49
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