Skip to content

Align Uno XAML performance with WinUI Perf2026 #24093

Open

Description

@morning4coffe-dev

What would you like to be added? 💡

Align Uno's managed XAML hot paths with the performance work recently shipped in WinUI 3's Perf2026 effort.

The work covers:

  • generated TemplateBinding fast paths;
  • lazy evaluation of overridden style setters;
  • opt-in optimized Fluent control styles;
  • inline storage for small DependencyObjectCollection<T> instances;
  • lower-allocation property-path parsing;
  • direct inverse-transform operations;
  • lazy dependency-object store maps and cached dependency-property metadata;
  • Grid-less FontIcon / BitmapIcon trees;
  • lower-allocation WebAssembly DOM batching;
  • modern .NET synchronization and frozen lookup tables.

Compatibility-sensitive style and visual-tree changes should remain opt-in through FeatureConfiguration.Perf2026.

Why is this needed? 🤔

WinUI's 2026 performance work targets launch time and first-frame costs. Microsoft reported, for the WinUI portion of File Explorer launch, 41% fewer allocations, 63% fewer transient allocations, 45% fewer function calls, and 25% less time in WinUI code.

Uno has equivalent managed hot paths where avoidable objects, reflection, parser allocations, collection backing stores, and visual-tree nodes are created repeatedly. Porting the applicable techniques improves startup, memory pressure, and frame responsiveness across Skia, WebAssembly, and mobile AOT targets while preserving compatibility defaults.

Renderer 🎨

  • Skia
  • Native

For which platforms 📱💻🖥️

All platforms 🌍

Anything else we need to know? 💬

Primary upstream references:

Activity

  1. added
    kind/enhancement
    triage/untriaged
    on Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementtriage/untriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions