-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve performance of artifact conflict detection.
* Use the action count to presize data structures that grow with the number of outputs. * Short-circuit output registration when detecting that actions can be shared - there is no need to check for each output, since shareable actions must have identical outputs. * Instead of using `ConcurrentSkipListMap` to order and deduplicate artifacts, aggregate all artifacts in a list and use `Arrays.parallelSort` followed by a length check to skip calling `startsWith` on equal exec paths. PiperOrigin-RevId: 379403122
- Loading branch information
1 parent
c0f0f8d
commit 4801bf5
Showing
6 changed files
with
147 additions
and
181 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
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
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
Oops, something went wrong.