startup-perf

Measure .NET Aspire startup duration from dotnet-trace DcpModelCreation events.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/sast-playground/aspire --skill startup-perf-sast-playground
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: startup-perf
Source: https://github.com/sast-playground/aspire/tree/main/.github/skills/startup-perf
Command: npx skills add https://github.com/sast-playground/aspire --skill startup-perf-sast-playground

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires dotnet-trace, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of accurately measuring the startup performance of Aspire applications, providing insights into the impact of code changes on application initialization times.

Core Features & Use Cases

  • Performance Measurement: Collects dotnet-trace traces and computes startup duration from AspireEventSource events.
  • Customization: Supports custom project paths, iteration counts, and trace output directories.
  • Use Case: Ideal for developers who need to assess the performance impact of code changes on Aspire application startup times.

Quick Start

Run the startup-perf skill to measure the startup performance of the default TestShop.AppHost project.

Frequently Asked Questions about startup-perf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I measure .NET Aspire application startup performance?

To measure .NET Aspire application startup performance, this Skill collects dotnet-trace traces and computes the startup duration between DcpModelCreationStart and DcpModelCreationStop events from AspireEventSource.

Can I use dotnet-trace to assess the impact of code changes on Aspire startup times?

Yes, you can use dotnet-trace to assess code change impacts on Aspire startup times; this Skill analyzes the collected traces to calculate the exact duration of application initialization.

How do I customize trace collection for an Aspire TestShop project?

You can customize trace collection for an Aspire TestShop project by specifying custom project paths, setting iteration counts, and defining trace output directories before running the startup performance measurement.

What is the best way to track Aspire DcpModelCreation event duration?

The best way to track Aspire DcpModelCreation event duration is by analyzing dotnet-trace outputs to pinpoint the exact time elapsed between the DcpModelCreationStart and DcpModelCreationStop events.

Do I need dotnet-trace installed to measure Aspire startup performance?

Yes, you need the dotnet-trace tool installed, as it is a required dependency for collecting the diagnostic traces used to evaluate your Aspire application startup performance.