Add maui-startup-profiling skill#111
Draft
simonrozsival wants to merge 4 commits into
Draft
Conversation
Add a new skill to the dotnet-maui plugin that guides diagnosis of slow .NET MAUI app startup using the `maui profile startup` CLI tool. The skill includes: - SKILL.md with MIBC-first workflow, dotnet-trace report topN analysis, and speedscope categorization as a deeper secondary tool - C# file-based analysis script (analyze_speedscope.cs) that categorizes CPU samples into 7 buckets (App, MAUI Framework, Bindings, Runtime, BCL, Platform/OS, Unknown) - Performance tips reference (performance-tips.md) mapping trace categories to MS Learn optimization guidance - MIBC/R2R guide (mibc-r2r-guide.md) for generating and applying custom PGO profiles on all CoreCLR platforms Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Description: third person, under 1024 chars, fix 'on Android' → all CoreCLR - Remove CLI Reference section (Claude can run --help) - Tighten iOS workaround section (reference #109) - Trim verbose explanations Claude doesn't need - SKILL.md: 230 → 179 lines Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Avoid version-specific references that need updating on each .NET release. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Drop articles, filler, verbose explanations. Use fragments, short words. Total word count: 2436 → 1450 (-40%). - SKILL.md: 1008 → 593 words - performance-tips.md: 706 → 513 words - mibc-r2r-guide.md: 722 → 344 words Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new
maui-startup-profilingskill to thedotnet-mauiplugin that guides diagnosis and optimization of slow .NET MAUI app startup.What's included
SKILL.mddotnet-trace report topNfor quick analysis, speedscope categorization for deeper breakdownscripts/analyze_speedscope.csreferences/performance-tips.mdreferences/mibc-r2r-guide.md_ReadyToRunPgoFiles, platform support matrixWorkflow
maui profile startup --format mibc→ produces.mibc+.nettracedotnet-trace report topN -n 30(quick) and/or speedscope categorization (deep)Related
maui profile startup#109 — iOS/Mac Catalyst build injection not yet wired up