Skip to content

use JuliaInterpreter for even faster tests - #500

Merged
simeonschaub merged 5 commits into
masterfrom
sds/interpret_tests
Aug 16, 2021
Merged

simeonschaub merged 5 commits into
masterfrom
sds/interpret_tests

Conversation

@simeonschaub

Copy link
Copy Markdown
Member

Turns out we can use JuliaInterpreter to shave another good 30% off test times. It does mean taking on another test-only dependency, but I think that's worth it.

@github-actions github-actions Bot added the needs version bump Version needs to be incremented or set to -DEV in Project.toml label Aug 14, 2021
@codecov-commenter

codecov-commenter commented Aug 14, 2021 •

Copy link
Copy Markdown

Codecov Report

Merging #500 (2efb4c9) into master (262be3c) will decrease coverage by 77.07%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #500       +/-   ##
===========================================
- Coverage   98.13%   21.05%   -77.08%     
===========================================
  Files          22       21        -1     
  Lines        2356     2009      -347     
===========================================
- Hits         2312      423     -1889     
- Misses         44     1586     +1542     
Impacted Files Coverage Δ
src/rulesets/Core/core.jl 0.00% <0.00%> (-100.00%) ⬇️
src/rulesets/LinearAlgebra/lapack.jl 0.00% <0.00%> (-100.00%) ⬇️
src/rulesets/LinearAlgebra/matfun.jl 0.00% <0.00%> (-98.53%) ⬇️
src/rulesets/LinearAlgebra/factorization.jl 0.31% <0.00%> (-96.78%) ⬇️
src/rulesets/Base/base.jl 5.66% <0.00%> (-94.34%) ⬇️
src/rulesets/LinearAlgebra/symmetric.jl 7.14% <0.00%> (-92.49%) ⬇️
src/rulesets/LinearAlgebra/dense.jl 6.52% <0.00%> (-92.48%) ⬇️
src/rulesets/Statistics/statistics.jl 0.00% <0.00%> (-90.91%) ⬇️
src/rulesets/LinearAlgebra/structured.jl 6.94% <0.00%> (-87.06%) ⬇️
src/rulesets/Random/random.jl 20.00% <0.00%> (-80.00%) ⬇️
... and 11 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 262be3c...2efb4c9. Read the comment docs.

Comment thread test/runtests.jl Resolved
Comment thread test/runtests.jl Resolved
@oxinabox

oxinabox commented Aug 14, 2021 •

Copy link
Copy Markdown
Member

Seems to be failing in 1.0, because include(f, path) was introduced in 1.5.
Maybe a quick PR to Compat.jl to add it?

(also MIND-BLOWN, nice work!)

@simeonschaub

Copy link
Copy Markdown
Member Author

Seems to be failing in 1.0, because include(f, path) was introduced in 1.5.
Maybe a quick PR to Compat.jl to add it?

Sounds like a plan!

@simeonschaub simeonschaub removed the needs version bump Version needs to be incremented or set to -DEV in Project.toml label Aug 15, 2021
@simeonschaub
simeonschaub requested a review from oxinabox August 15, 2021 20:48
@oxinabox

Copy link
Copy Markdown
Member

We should maybe just remove coveralls, since it can't see through julia interpretter?

@oxinabox oxinabox left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nice work

Comment thread test/runtests.jl Resolved
Co-authored-by: Lyndon White <[email protected]>
@github-actions github-actions Bot added the needs version bump Version needs to be incremented or set to -DEV in Project.toml label Aug 16, 2021
@simeonschaub

simeonschaub commented Aug 16, 2021 •

Copy link
Copy Markdown
Member Author

Are we OK with losing coverage information? I do hope that can be fixed in JuliaInterpreter at some point though.

@oxinabox

Copy link
Copy Markdown
Member

Yeah, we are ok with that. I am happy to make that trade to get 30% faster tests.
Probably comment out, or outright delete (can always get back from history) the code it the GHA that reports coverage.
Nonsense wasting out jobs on it if it is always going to return 15%

@simeonschaub simeonschaub removed the needs version bump Version needs to be incremented or set to -DEV in Project.toml label Aug 16, 2021
@simeonschaub
simeonschaub merged commit b4dee46 into master Aug 16, 2021
@simeonschaub
simeonschaub deleted the sds/interpret_tests branch August 16, 2021 16:54
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.

4 participants