Skip to content

docs: Stop recommending a large WASM GC nursery (backport #25053) - #25914

Merged
agneszitte merged 2 commits into
release/stable/6.7from
mergify/bp/release/stable/6.7/pr-25053
Nov 2, 2026
Merged

agneszitte merged 2 commits into
release/stable/6.7from
mergify/bp/release/stable/6.7/pr-25053

Conversation

@mergify

@mergify mergify Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

GitHub Issue: N/A (documentation only)

PR Type:

📚 Documentation content changes

What changed? 🚀

doc/articles/Uno-UI-Performance.md recommended nursery-size=64m for 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 MtouchExtraArgs in src/Uno.Sdk/targets/xamarin-ios-workarounds.targets also sets nursery-size=64m; Android templates use 32m.

PR Checklist ✅

🤖 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).

MartinZikmund and others added 2 commits November 2, 2026 03:56
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)
@mergify

mergify Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
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.

@agneszitte
agneszitte merged commit 4661cb0 into release/stable/6.7 Nov 2, 2026
14 of 16 checks passed
@agneszitte
agneszitte deleted the mergify/bp/release/stable/6.7/pr-25053 branch November 2, 2026 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants