Skip to content

Conversation

@Ryu0118
Copy link
Collaborator

@Ryu0118 Ryu0118 commented Oct 23, 2025

I updated PackageResolver to run concurrently instead of serially where AsyncOperations are used.
Since running in parallel could trigger multiple resolutions of the same target, added a cache to avoid duplicate work.

Here is the benchmark:
Before: 28.7s
After: 8.8s

About 3.3× faster on average

@Ryu0118 Ryu0118 requested review from giginet and ikesyo October 23, 2025 08:07
Copy link
Owner

@giginet giginet left a comment

Choose a reason for hiding this comment

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

Could you update swift-async-operations?

Older versions contain potential asynchronous bugs; it is advisable to explicitly update.

@Ryu0118 Ryu0118 requested a review from giginet November 6, 2025 09:58
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.

2 participants