Repository navigation
docs: Stop recommending a large WASM GC nursery - #25053
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
|
Claude finished @MartinZikmund's task in 12s —— View job Review of #25053Verdict: looks good, with one nit. This is a docs-only change in Issues: 0 blocking, 0 major, 1 nit (inline). The nit is about the sentence that narrates the samples app's history. Cross-cutting:
|
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-25053/docs/index.html |
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017TzDba3gSK3uYpvLmmBmaa
|
Claude finished @MartinZikmund's task in 11s —— View job Review of #25053 (re-review after latest push)Verdict: looks good, nothing blocking.
The earlier nit is resolved. Commit I only inspected the file. I did not build the docs. Issues: 0 blocking, 0 major, 0 nits. Cross-cutting: the iOS |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-25053/docs/index.html |
|
@Mergifyio backport servicing/6.8 release/stable/6.7 |
✅ Backports have been createdDetails
|
…6.7/pr-25053 docs: Stop recommending a large WASM GC nursery (backport #25053)
…r-25053 docs: Stop recommending a large WASM GC nursery (backport #25053)
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