dotnet / dotnet/fsharp

FSC: Consider enabling `--parallelreferenceresolution` by default

Open
#15,428 3 comments 0 reactions 0 assignees View on GitHub
Feature Improvement
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 11h
Merged PRs (30d)
131

Description

https://github.com/dotnet/fsharp/pull/13521 introduces an FSC flag `--parallelreferenceresolution` that makes dll imports run in parallel.
I ran some tests and it gave 5% relative/600ms absolute speedup of single-project `dotnet build` for projects with lots of NuGet&project references.
Would it be possible to enable this feature by default?

If this were to be an opt-out feature, what would be the opt-out mechanism?

I believe parallel parsing is on by default and the only way to turn it off for end-users is via the `OtherFlags` MSBuild property.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.