-
Notifications
You must be signed in to change notification settings - Fork 802
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
Add DesignTimeBuild=true to legacy build from ProjectSystem #4407
Conversation
@forki this does not impact dotnet sdk projects. |
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.
Out of interest, does this improve solution load times? May be worth checking with that “Huge” benchmark solution Ive posted a few times.
@KevinRansom I think this is related to #1559. In that issue, |
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.
@davkean can you take a look at this too?
@0x53A I can take a look separately at the $(SolutionDir) issue. But it seems like that would not be something the project system is supposed to provide. I imagine that this may speed up performance load for legacy projects. I will take a look once I get tests passing. Kevin |
@KevinRansom I believe the stress test that @saul mentioned is located here: https://github.com/Microsoft/visualfsharp/tree/master/tests/projects/stress So it should be pretty easy to measure against baselines under |
@0x53A Looks like a 10-12 % reduction in time when loading huge dense solution. from (51.40, 52.51, 51.97, 51.96) seconds to (45.51, 45.68, 45.10, 45.32) seconds. Time to semantic colorization. |
This should be in tomorrows nightly build drop. Since I am about to pull it. It won't make it into 15.6, but should first appear in a 15.7 preview when they come on stream. Thanks for sticking at this, it yielded a nice improvement. Kevin |
Can someone explain what setting the DesignTimeBuild flag does please, roughly speaking? Thanks! |
This replaces: PR #4395.
Fixes: #3222
The project system wasn't setting the DesignTimeBuild flag when running design time builds. This PR addresses that issue.