-
Notifications
You must be signed in to change notification settings - Fork 790
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parallel parsing - fsc.exe #11140
Parallel parsing - fsc.exe #11140
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great subject to tests passing!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great subject to tests passing!
Almost passing, one test is failing as the order of errors have changed. Will need to investigate. |
It passes! |
@dsyme, this look ok to you? |
…o commit delayed diagnostics
Enables parallel parsing by default when compiling via fsc.exe. Is a continuation of #10208 and is ready.
This adds a new test compiler option:
-test:ParallelOff
- turns off concurrent buildEarly results
CPU: Core i7-10700K @ 3.8GHz (8 cores, 16 logical cores)
Using command line
msbuild FSharp.Compiler.Service.fsproj
with only compiling netstandard2.0 target - this is also without generating the parserTime Elapsed 00:00:38.65
Time Elapsed 00:00:34.90
That's a ~9% decrease in compile time when re-building the compiler service.