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

Use XUnit for parallel testing. #347

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft

Use XUnit for parallel testing. #347

wants to merge 6 commits into from

Conversation

maleadt
Copy link
Member

@maleadt maleadt commented Feb 8, 2021

No description provided.

@maleadt maleadt force-pushed the tb/xunit branch 4 times, most recently from 1d17918 to 126b5a5 Compare February 8, 2021 08:39
@maleadt
Copy link
Member Author

maleadt commented Feb 8, 2021

Interestingly, this doesn't improve testing times at all:

Test
julia --project -e 'using Pkg; Pkg.test()'  221,61s user 1,62s system 100% cpu 3:42,95 total

XUnit.jl: single runner/thread
julia --project -e 'using Pkg; Pkg.test()'  239,89s user 2,20s system 99% cpu 4:03,54 total

XUnit.jl: 4 threads using ParallelTestRunner
julia --project -e 'using Pkg; Pkg.test()'  777,95s user 2,98s system 355% cpu 3:39,40 total

Presumably because this test suite is compilation heavy, and the Julia compiler is single-threaded.

@maleadt maleadt marked this pull request as draft August 17, 2022 08:01
@maleadt maleadt added the stale label Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant