Skip to content

Commit 60f9708

Browse files
authored
Reduce RendererSynchronizationContext overheads (#48720)
- Use AsyncTaskMethodBuilder instead of TaskCompletionSource for one allocation instead of two - For InvokeAsync with synchronous callbacks, reuse the Task returned from InvokeAsync as the placeholder in the task queue - Use awaits instead of ContinueWith
1 parent 721cd72 commit 60f9708

File tree

3 files changed

+157
-212
lines changed

3 files changed

+157
-212
lines changed

0 commit comments

Comments
 (0)