-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consider XML cache valid if loaded from non modifiable file (#8526)
Related to #8412 Context During research of optimization opportunities for Evaluation I have found relatively cheap win. Some time ago we have introduced optimized up to date check leveraging immutable file locations. See usage FileClassifier class for more details. This PR made ProjectRootElementCache use it too so cached XML file is considered valid if it was read from immutable location. Changes Made As stated above. Additionally I tried to slightly improve readability by eliminating stuff if nesting. Testing Locally. Measure gain for Orchard null incremental build /m was ~21% of Evaluation CPU time.
- Loading branch information
Showing
1 changed file
with
47 additions
and
34 deletions.
There are no files selected for viewing
This file contains 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