Prototype cross-process evaluation cache#14502
Draft
OvesN wants to merge 2 commits into
Draft
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: ab510081-14dc-4a61-a19a-cd64006e0fd4
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 78011b6a-ba4c-44d6-be21-250bf7928755
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #
Context
This is an intentionally unsafe prototype for measuring the happy-path benefit of reusing project evaluations across consecutive MSBuild invocations and worker processes.
The prototype assumes project files, imports, SDK inputs, environment inputs, and global properties are unchanged. It is not intended for production use.
Changes Made
ProjectInstancecache enabled byMSBUILDPROTOTYPEEVALUATIONCACHE=1.MSBUILDPROTOTYPEEVALUATIONCACHEDIRECTORY.Testing
BuildRequestConfiguration_Tests: 42 passed onnet10.0.OrchardCore Release warm no-op build, 232 solution projects, 32 logical processors:
Notes