Route gh-aw workflow design/create/debug/upgrade requests to the right prompts.
中文简介正在准备中。当前显示原文说明。
Use the open-source free `Asynkron.Profiler` dotnet tool for CLI-first CPU, allocation, exception, contention, and heap profiling of .NET commands or existing trace artifacts. USE FOR: Asynkron.Profiler setup; automation-friendly profiling output; CPU, allocation, exception, contention, and heap investigation. DO NOT USE FOR: unrelated stacks; generic tasks that do not need this specific guidance. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Asynkron.Profiler or asynkron-profiler.nettrace, .speedscope.json, .etlx, or .gcdump file into a readable reportRelease output over dotnet run so the trace represents the target app rather than restore/build noise.asynkron-profilerdotnet-tracedotnet-gcdump--cpu--memory--exception--contention--heap--input <path> when the trace already exists and the task is about rendering or narrowing the report, not recollecting data.--root <text> to anchor the call tree--filter <text> to trim tables--exception-type <text> for exception-heavy flows--calltree-depth, --calltree-width, --calltree-self, --calltree-sibling-cutoffprofile-output/ as the stable output folder for review artifacts and reruns.profiling.flowchart LR
A["Profiling task"] --> B{"New run or existing artifact?"}
B -->|New run| C["Build target in Release"]
C --> D["Run `asynkron-profiler --mode -- <command|csproj|sln>`"]
D --> E["Collect via `dotnet-trace` or `dotnet-gcdump`"]
E --> F["Write reports to `profile-output/`"]
B -->|Existing artifact| G["Run `asynkron-profiler --input <path> [--mode]`"]
G --> F
F --> H["Refine output with `--root`, `--filter`, and call tree flags"]
dotnet tool install -g asynkron-profiler --prerelease
dotnet tool install -g dotnet-trace
dotnet tool install -g dotnet-gcdump
asynkron-profiler --help
dotnet-trace --version
dotnet-gcdump --version
dotnet build -c Release
asynkron-profiler --cpu -- ./bin/Release/<tfm>/MyApp
Framework-dependent apps can run through dotnet:
asynkron-profiler --memory -- dotnet ./bin/Release/<tfm>/MyApp.dll
Project and solution paths are also valid when the tool should build and run for you:
asynkron-profiler --contention -- ./MyApp.csproj
asynkron-profiler --exception -- ./MySolution.sln
asynkron-profiler --input ./profile-output/app.nettrace --cpu
asynkron-profiler --input ./profile-output/app.etlx --memory
asynkron-profiler --input ./profile-output/app.gcdump --heap
Manual collection with the official tools still fits when the trace must be captured separately:
dotnet-trace collect --output ./profile-output/app.nettrace -- dotnet run MyProject.sln
asynkron-profiler --input ./profile-output/app.nettrace --cpu
--cpu for sampled hotspots--memory for GC allocation ticks and per-type call trees--exception for thrown counts and throw-site trees--contention for wait-time trees--heap for retained heap shape via dotnet-gcdump--root <text> to focus the tree on a subsystem--filter <text> to narrow function tables--exception-type <text> when one exception dominates the signal--calltree-depth <n>--calltree-width <n>--calltree-self--calltree-sibling-cutoff <n>--input <path> for .nettrace, .speedscope.json, .etlx, or .gcdump--tfm <tfm> when the profiler must resolve a specific target framework from a .csproj or .sln.NET SDK 10.x as the supported toolchain baselinedotnet run is supported but usually produces noisy traces because it captures host, restore, and build workdotnet-trace and dotnet-gcdump, so missing prerequisites or blocked diagnostics IPC will break runs--heap captures retained heap shape, not CPU or allocation timelinesprofilingasynkron-profiler command path for the profiling mode that matches the problem--root, --filter, --exception-type, or call-tree options needed for readable outputasynkron-profiler --help, dotnet-trace --version, and dotnet-gcdump --version all succeedRelease output unless there is a documented reason to accept dotnet run noiseprofile-output/ contains the expected report or artifact after the run还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Route gh-aw workflow design/create/debug/upgrade requests to the right prompts.
中文简介正在准备中。当前显示原文说明。
Use a repo-root `.editorconfig` to configure free .NET analyzer and style rules. Use when a .NET repo needs rule severity, code-style options, section layout, or analyzer ownership made explicit. USE FOR: the repo needs a root .editorconfig; analyzer severity and style ownership are unclear; the team wants one source of truth for rule configuration. DO NOT USE FOR: choosing analyzers with no config change; formatting-only execution with no config ownership question. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.
中文简介正在准备中。当前显示原文说明。
Scans .NET code for ~50 performance anti-patterns across async, memory, strings, collections, LINQ, regex, serialization, and I/O with tiered severity classification. Use when analyzing .NET code for optimization opportunities, reviewing hot paths, or auditing allocation-heavy patterns.
中文简介正在准备中。当前显示原文说明。
Symbolicate the .NET runtime frames in an Android tombstone file. Extracts BuildIds and PC offsets from the native backtrace, downloads debug symbols from the Microsoft symbol server, and runs llvm-symbolizer to produce function names with source file and line numbers. USE FOR triaging a .NET MAUI or Mono Android app crash from a tombstone, resolving native backtrace frames in libmonosgen-2.0.so or libcoreclr.so to .NET runtime source code, or investigating SIGABRT, SIGSEGV, or other native signals originating from the .NET runtime on Android. DO NOT USE FOR pure Java/Kotlin crashes, managed .NET exceptions that are already captured in logcat, or iOS crash logs. INVOKES Symbolicate-Tombstone.ps1 script, llvm-symbolizer, Microsoft symbol server.
中文简介正在准备中。当前显示原文说明。
Symbolicate .NET runtime frames in Apple platform .ips crash logs (iOS, tvOS, Mac Catalyst, macOS). Extracts UUIDs and addresses from the native backtrace, locates dSYM debug symbols, and runs atos to produce function names with source file and line numbers. Automatically downloads .dwarf symbols from the Microsoft symbol server using Mach-O UUIDs. USE FOR triaging a .NET MAUI or Mono app crash from an .ips file on any Apple platform, resolving native backtrace frames in libcoreclr or libmonosgen-2.0 to .NET runtime source code, retrieving .ips crash logs from a connected iOS device or iPhone, or investigating EXC_CRASH, EXC_BAD_ACCESS, SIGABRT, or SIGSEGV originating from the .NET runtime. DO NOT USE FOR pure Swift/Objective-C crashes with no .NET components, or Android tombstone files. INVOKES Symbolicate-Crash.ps1 script, atos, dwarfdump, idevicecrashreport.
中文简介正在准备中。当前显示原文说明。
Design or review .NET solution architecture across modular monoliths, clean architecture, vertical slices, microservices, DDD, CQRS, and cloud-native boundaries without over-engineering. USE FOR: .NET architecture choices; layer and domain boundary review; service decomposition; clean architecture, vertical slice, DDD, CQRS, and modular monolith decisions. DO NOT USE FOR: unrelated stacks; generic tasks that do not need this specific guidance. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.
中文简介正在准备中。当前显示原文说明。