-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Rearrange tests #1157
base: master
Are you sure you want to change the base?
Rearrange tests #1157
Conversation
dd9fe42
to
88e82c5
Compare
The unitful tests take off some heavy load from the bidiag.jl test suite, and the |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1157 +/- ##
==========================================
- Coverage 91.94% 91.90% -0.05%
==========================================
Files 34 34
Lines 15352 15354 +2
==========================================
- Hits 14116 14111 -5
- Misses 1236 1243 +7 ☔ View full report in Codecov by Sentry. |
Hm, I missed to check upfront. So the triangular split doesn't yield much, the first block is the very dominant part, so we might as well keep the triangular tests as is. Though any reduction of its runtime is welcome, since this worker runs from start to end and determines the total runtime. I'll check the effect of removing the unitful tests from bidiag.jl tomorrow. |
This looks much much better now! Comments welcome. |
Seems like a huge improvement, this PR reduces test time by ~30% (~6min) by splitting the test set and paying for ~1min of pre-compilation.
It also seems that splitting unitful tests can further reduce testing time. Test time from baseline 959d985
this pr
|
I'll take a look, but the unitful tests are again dominated by one block of tests (originally from bidiag.jl), like it was the case for triangular. |
I skipped the unitless combination in the loop and removed the EDIT: Reduces runtime of that testset by ~40%. |
Any objections against this approach? |
This brutally splits the triangular tests in two parts, and creates a dedicated test file for unitful tests. That should spread the load more evenly among several workers, when present.
To the best of my knowledge, this doesn't change any test overall. Mostly, this is copy-paste.