-
Notifications
You must be signed in to change notification settings - Fork 80
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
Investigate increased CI time #1262
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #1262 +/- ##
==========================================
- Coverage 90.90% 90.88% -0.03%
==========================================
Files 133 133
Lines 26754 26721 -33
==========================================
- Hits 24322 24285 -37
- Misses 2432 2436 +4
|
From my local timings, almost all the increase in time can be attributed to building the tests in the
|
Try running |
|
It looks like removing the opt-level=2 on the test vm ( Line 125 in 424669b
|
Significantly decreases build time for me too but it is far outweighed by increase in test running time (for both opt-level 0 and 1 neither seems net faster) |
The change in #1259 has caused a significant increase in CI times for this repo.
https://github.com/filecoin-project/builtin-actors/actions/runs/4527273009/jobs/7972963894 took around 18 minutes and has doubled (34 minutes) both when it landed on master: https://github.com/filecoin-project/builtin-actors/actions/runs/4538508299/jobs/7997478197 and when it ran on the PR branch (35 minutes) https://github.com/filecoin-project/builtin-actors/actions/runs/4528315067/jobs/7974981200
This PR reverts commit 424669b to see if that commit caused the increase in CI times. (It does)
By switching to a generic trait, the compiler will monomorphize the TestVM code. This should not in fact affect test execution times but running this PR to make sure. Locally I see that the time taken to build the TestVM tests has more than doubled ~2:30 -> 6 minutes whilst time taken to run the tests remains roughly the same ~4 minutes.