Skip to content

perf(devloop): Parse less whitespace when compiling - #25623

Merged
ebariche merged 3 commits into
masterfrom
dev/eb/perf-devloop
Oct 21, 2026
Merged

ebariche merged 3 commits into
masterfrom
dev/eb/perf-devloop

Conversation

@ebariche

Copy link
Copy Markdown
Member

PR Type:

⚡ Perf

PR Checklist ✅

@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @ebariche's task in 23s —— View job


Review of #25623

Verdict: ship. I found no issues, so there are no inline comments.

What changed

  • SyncGenerator.cs has two small edits. The two #pragma warning disable lines are folded into one. The output now uses a file-scoped namespace X; instead of a block namespace, which removes one indentation level.
  • The remaining ~100+ files are the regenerated output from Uno.WinAppSDKSyncGenerator, committed in chore: Run API sync tool. I spot-checked Deferral.cs. The diff is only the pragma fold, the namespace form and the de-indentation, with no change to members or [NotImplemented] conditions.

Notes

  • Editing Generated/ files is normally off-limits. Here they are the tool's own output, so it's fine, but they should be reproducible by re-running the tool. Check that the generated set is complete, because the file list shown in the PR is capped at 100.
  • File-scoped namespaces need C# 10 or later. This is fine for the current .NET 9/10 targets. Confirm that no project consuming Generated/ pins an older LangVersion.
  • The PR body is the empty template. A line giving the measured compile-time gain would back up the perf(devloop) claim. Also, the checklist says no breaking changes, which holds because the generated output is identical in behavior.
  • The PR needs a linked issue unless it counts as chore/docs-only. The commit messages follow Conventional Commits.

I only read the code and did not build or run it, so this is a review by inspection.
· Branch: dev/eb/perf-devloop

@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 240668 found UI Test snapshots differences: skia-linux-screenshots: 118, skia-windows-screenshots: 2458

Details
  • skia-linux-screenshots: 118 changed over 2458

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ClipboardTests.png-dark
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • Buttons.png-dark
    • Buttons.png
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • CompositionEffectBrush.png-dark
    • CompositionEffectBrush.png
    • CompositionNineGridBrush_Source_Changes.png-dark
    • CompositionNineGridBrush_Source_Changes.png
    • DoubleImageBrushInList.png-dark
    • DoubleImageBrushInList.png
    • Gamepad_CurrentReading.png-dark
    • Gamepad_Enumeration.png-dark
    • ImageBrushAlignmentXY.png-dark
    • ImageBrushAlignmentXY.png
    • DisplayInformation.png-dark
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
  • skia-windows-screenshots: 2458 changed over 2490

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AndroidWindowInsets.png
    • AnimatedIconPage.png
    • AnimatedVisualsTestbedPage.png-dark
    • ApplicationViewSizing.png
    • AppWindowPresenters.png-dark
    • Attributed_text_FontSize_Changing.png
    • AutoBorderStretchwithbottommargin.png-dark
    • AutomationProperties_Landmark.png-dark
    • AutoSizedTopLeft.png
    • AutoSuggestBoxChosenSuggestion.png-dark
    • BadgeNotificationTests.png-dark
    • BadgeNotificationTests.png
    • Basics_Automated.png-dark
    • Basics_Automated.png
    • BindableDrawerLayout_ChangePane.png-dark
    • BindableDrawerLayout_ChangePane.png
    • BorderBottomwithmargins.png-dark
    • BorderBottomwithmargins.png
    • BorderLeftwithmargins.png-dark
    • BorderLeftwithmargins.png

@ebariche
ebariche requested a review from ramezgerges October 21, 2026 18:35
@ebariche
ebariche enabled auto-merge October 21, 2026 18:40
@ebariche
ebariche merged commit b73fc57 into master Oct 21, 2026
51 checks passed
@ebariche
ebariche deleted the dev/eb/perf-devloop branch October 21, 2026 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants