Commit 60f9708
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 ContinueWith1 parent 721cd72 commit 60f9708
File tree
3 files changed
+157
-212
lines changed- src/Components/Components
- src/Rendering
- test
- Rendering
3 files changed
+157
-212
lines changed
0 commit comments