Repository navigation
docs: Stop recommending a large WASM GC nursery (backport #25053) - #25914
Merged
agneszitte merged 2 commits intoNov 2, 2026
Merged
Conversation
nursery-size=64m deferred gen0 collections and caused 500-1000 ms scroll freezes on Skia WebAssembly; the samples app dropped it in 8b7c484. Recommend measuring before tuning instead. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NL1zD4nmcDjrcPhceNXFNm (cherry picked from commit 7093861)
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017TzDba3gSK3uYpvLmmBmaa (cherry picked from commit 517aabf)
2 of 5 tasks
agneszitte
approved these changes
Nov 2, 2026
Contributor
Author
|
This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again. |
This was referenced Nov 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub Issue: N/A (documentation only)
PR Type:
📚 Documentation content changes
What changed? 🚀
doc/articles/Uno-UI-Performance.mdrecommendednursery-size=64mfor WebAssembly. A large nursery means fewer but much longer minor GCs, which show up as freezes of several hundred milliseconds up to about a second during scrolling or animation; the SamplesApp dropped the setting for exactly that reason (8b7c484c8ff).The bullet now says not to set a large nursery by default, explains the trade-off, says to measure before tuning, and suggests reducing allocations on hot paths instead. The .NET GC configuration link is kept.
Not changed here (non-WASM, worth a separate look): the iOS
MtouchExtraArgsinsrc/Uno.Sdk/targets/xamarin-ios-workarounds.targetsalso setsnursery-size=64m; Android templates use32m.PR Checklist ✅
Screenshots Compare Test Runresults.🤖 Generated with Claude Code
https://claude.ai/code/session_01NL1zD4nmcDjrcPhceNXFNm
This is an automatic backport of pull request #25053 done by [Mergify](https://mergify.com).