forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- return a TestSummary rather than a Builder - only call build() once - remove some dead code - avoid creating some unnecessary intermediate lists This code is performance critical in that the thread executing it is holding a lock on AggregatingTestListener. On builds which have a lot of executing tests (e.g., high values of --runs_per_test) this can lead to significant lock contention. It might be better to refactor this code to just store the received test attempt results and only aggregate when all attempts for a specific test are done, rather than trying to do incremental work. That should make the code simpler, although it might be a bit slower, but allows multiple test reports to process in parallel. PiperOrigin-RevId: 241903073
- Loading branch information
1 parent
6793b93
commit b9fd6f2
Showing
3 changed files
with
24 additions
and
31 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