Skip to content

aspire command startup far too slow #9765

Open
@aradalvand

Description

@aradalvand

aspire's startup performance is far too terribly slow for a modern CLI tool — here's a comparison with dotnet:

2025-06-09.08-10-02.mp4

Host: WSL2/Ubuntu 24.04 x64 (20-core Core i7 14th-gen Intel processor, 32GB of RAM, NVMe storage) — I downloaded the executable from http://aka.ms/dotnet/9.0/daily/aspire-Cli-linux-x64.zip

Gets better after the first time, but even from the second time onward it's too slow.
Consider publishing the CLI program as a NativeAOT binary (which offers substantially better startup perf); or applying whatever optimizations have been applied to dotnet to make it snappy; I haven't checked out the source code, but you might be doing too much work on startup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions