maui-performance

Installation
SKILL.md

.NET MAUI Performance Optimization

Profiling

  • dotnet-trace: Cross-platform profiler for all MAUI targets. Collect traces with:
    dotnet-trace collect --process-id <PID> --providers Microsoft-DotNETCore-SampleProfiler
    
  • PerfView (Windows only): Use for deep allocation and CPU analysis on WinUI targets.
  • Profile before optimizing — measure, don't guess.

Compiled Bindings

  • Always set x:DataType on pages/views to enable compiled bindings.
  • Compiled bindings are 8–20× faster than reflection-based bindings.
  • Required for NativeAOT and full trimming — reflection bindings break under trimming.
  • Apply x:DataType at the highest reasonable scope (page or root element).
Related skills
Installs
73
GitHub Stars
135
First Seen
Feb 16, 2026