-
-
Notifications
You must be signed in to change notification settings - Fork 782
Closed
Labels
teamThe issue/pr is created by the member of Rspack.The issue/pr is created by the member of Rspack.tracking issueCategory: A tracking issue for an RFC or an unstable feature.Category: A tracking issue for an RFC or an unstable feature.
Description
What subject does this issue tracking?
migrate all blocking call to async call
we already migrate the whole architecture to async thread pool in #8226
so blocking call will block the whole thread and will hurt performance, so we should migrate all blocking call to async call for performance reason, which includes
### Tasks
- [x] migrate all block_on to async call
- [x] migrate all blocking_call in tsfn to call_async
- [x] migrate rspack_resolver to use async fs(this may need benchmark)
- [x] migrate all rust side sync hook to async hook
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
teamThe issue/pr is created by the member of Rspack.The issue/pr is created by the member of Rspack.tracking issueCategory: A tracking issue for an RFC or an unstable feature.Category: A tracking issue for an RFC or an unstable feature.