Skip to content

Building a large F# project is indeterminately slow #19132

@ners

Description

@ners

I've created a very simple F# project with 10'000 modules: https://github.com/ners/fsharp-10k

Running dotnet build in this project appears to never complete; I killed the process after 10 minutes after it had consumed most of my RAM.

Repro steps

Expected behavior

The build completes in a reasonable amount of time, e.g. 10 minutes.

Ideally the progress of the build is reported to the CLI, e.g.: [123/1000]

Actual behavior

The build takes an indeterminate amount of time.

Related information

I have a reasonably powerful setup (Ryzen 9950X) running Linux and using .NET 10.0.100. I also tested with 8.0.416, where the result was the same.

Metadata

Metadata

Assignees

Type

Projects

Status

New

Relationships

None yet

Development

No branches or pull requests

Issue actions