Skip to content

Conversation

finestructure
Copy link
Member

@finestructure finestructure commented Apr 6, 2025

CleanShot 2025-04-06 at 10 46 49@2x

NB that part of that speedup is due to also dropping TSan for now.

  • update local dev docs about test db setup

Comparison of the latest run on this branch:

Suite AllTests passed after 56.172 seconds

vs main:

Suite AllTests passed after 368.440 seconds

Shaved off more than 5mins, 6.6x improvement.

@cla-bot cla-bot bot added the cla-signed label Apr 6, 2025

test: xcbeautify
set -o pipefail \
&& swift test --disable-automatic-resolution --sanitize=thread --no-parallel \
Copy link
Member Author

Choose a reason for hiding this comment

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

We have to drop TSan again, it keeps triggering when tests are run in parallel. It doesn't seem to be in code directly, it's in NIO. I don't think it's misuse on our end and I can't imagine it's a NIO problem, so perhaps a false positive.

@finestructure finestructure marked this pull request as ready for review April 6, 2025 10:00
@finestructure finestructure requested a review from daveverwer April 6, 2025 10:00
@finestructure finestructure changed the title Parallelise tests 6 Parallelise testing Apr 6, 2025
@finestructure finestructure changed the title Parallelise testing Parallelise tests Apr 6, 2025
@finestructure finestructure merged commit 21101b7 into main Apr 18, 2025
6 checks passed
@finestructure finestructure deleted the parallelise-tests-6 branch April 18, 2025 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants