Skip to content

Conversation

@JDevlieghere
Copy link

Reading a source file might take a while, for example because it's located on a virtual file system that's fetching the data on demand.

This PR emits a progress event to convey this to the user when reading the file exceeds a certain threshold (500ms). Although it doesn't speed up the operation, it still greatly improves the user experience by helping them understand what's going on.

rdar://163750392
(cherry picked from commit 22d2f7f)

Reading a source file might take a while, for example because it's
located on a virtual file system that's fetching the data on demand.

This PR emits a progress event to convey this to the user when reading
the file exceeds a certain threshold (500ms). Although it doesn't speed
up the operation, it still greatly improves the user experience by
helping them understand what's going on.

rdar://163750392
(cherry picked from commit 22d2f7f)
@JDevlieghere
Copy link
Author

@swift-ci test

@JDevlieghere
Copy link
Author

Timeout while building?

@swift-ci test macos

@JDevlieghere
Copy link
Author

@swift-ci test macos

@JDevlieghere JDevlieghere merged commit 1de33d4 into stable/21.x Nov 4, 2025
3 checks passed
@JDevlieghere JDevlieghere deleted the cherrypick-22d2f7f branch November 4, 2025 19:34
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