Skip to content

docs: Stop recommending a large WASM GC nursery - #25053

Merged
MartinZikmund merged 2 commits into
masterfrom
dev/mazi/docs-wasm-nursery
Oct 10, 2026
Merged

MartinZikmund merged 2 commits into
masterfrom
dev/mazi/docs-wasm-nursery

Conversation

@MartinZikmund

Copy link
Copy Markdown
Member

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

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
Copilot AI balanced review requested due to automatic review settings October 6, 2026 11:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@MartinZikmund MartinZikmund self-assigned this Oct 6, 2026
@github-actions

github-actions Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 12s —— View job


Review of #25053

Verdict: looks good, with one nit.

This is a docs-only change in doc/articles/Uno-UI-Performance.md. It replaces the nursery-size=64m recommendation with guidance to measure first and to reduce hot-path allocations. The wording is accurate, and the .NET GC configuration link is kept. I only read the diff and did not build the docs.

Issues: 0 blocking, 0 major, 1 nit (inline). The nit is about the sentence that narrates the samples app's history.

Cross-cutting:

  • The PR description notes that the iOS MtouchExtraArgs in src/Uno.Sdk/targets/xamarin-ios-workarounds.targets still sets nursery-size=64m. That is a good candidate for a follow-up issue.
  • The title and commit already follow Conventional Commits (docs:).

Comment thread doc/articles/Uno-UI-Performance.md Resolved
@unodevops

Copy link
Copy Markdown
Contributor

Copilot AI balanced review requested due to automatic review settings October 9, 2026 21:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

github-actions Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 11s —— View job


Review of #25053 (re-review after latest push)

Verdict: looks good, nothing blocking.

  • Read the current state of doc/articles/Uno-UI-Performance.md
  • Check the earlier nit

The earlier nit is resolved. Commit 517aabf3 removed the sentence about the samples app's history. Line 117 now gives the guidance, the trade-off, and "measure first". It keeps the .NET GC configuration link.

I only inspected the file. I did not build the docs. git diff origin/master...HEAD failed with "no merge base" in this checkout, so I read the file directly instead of the full diff.

Issues: 0 blocking, 0 major, 0 nits.

Cross-cutting: the iOS MtouchExtraArgs in src/Uno.Sdk/targets/xamarin-ios-workarounds.targets still sets nursery-size=64m. The PR description already flags it, so it is a good candidate for a follow-up issue.

@unodevops

Copy link
Copy Markdown
Contributor

@MartinZikmund
MartinZikmund merged commit 33630c3 into master Oct 10, 2026
20 checks passed
@MartinZikmund
MartinZikmund deleted the dev/mazi/docs-wasm-nursery branch October 10, 2026 05:08
@agneszitte

Copy link
Copy Markdown
Member

@Mergifyio backport servicing/6.8 release/stable/6.7

@mergify

mergify Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

backport servicing/6.8 release/stable/6.7

✅ Backports have been created

Details

agneszitte added a commit that referenced this pull request Nov 2, 2026
…6.7/pr-25053

docs: Stop recommending a large WASM GC nursery (backport #25053)
agneszitte added a commit that referenced this pull request Nov 2, 2026
…r-25053

docs: Stop recommending a large WASM GC nursery (backport #25053)
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.

4 participants