Building a large F# project is indeterminately slow
- Dominant language
- F#
- Stars
- 4.3k
- Forks
- 876
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 144
Description
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**
- Check out https://github.com/ners/fsharp-10k
- Run `dotnet build`
**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.
Contributor guide
Assessment
This issue has not been assessed yet.