Cache directory exists in rar#2702
Merged
cdmihai merged 2 commits intodotnet:vs15.5from Nov 6, 2017
Merged
Conversation
Contributor
Author
|
It does not appear to do much for small projects. Memory regresses a bit due to the new cache. MVC (which has the most dependencies) shows the most improvement. Evaluation: Time (ms)
Evaluation: Memory (bytes)
Build: Time (ms)
Build: Memory (bytes)
|
Member
|
Could using this with RAR be a problem in case of parallel builds with common output directories or shared assembly directories? |
Contributor
Author
|
File existence and directory enumerations were already being cached per RAR call, so I don't think this would aggravate things more. |
AndyGerlicher
approved these changes
Nov 6, 2017
Contributor
AndyGerlicher
left a comment
There was a problem hiding this comment.
Approved, @cdmihai merge it please.
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.
The cache is local to one RAR execution, just like the file existence cache.
(times below are relative to all RAR invocations on a Roslyn build)
Before:

After:

Second commit is a code cleanup change that makes everything hard to read.