-
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 cquery speed by caching Skyframe calls
Calling Skyframe adds a performance cost even when hitting the Skyframe cache. This change adds a local cache for retrieving configurations. Experiments show about a 7% reduction in query time on `--output=graph` (see code comments). Followup to https://github.com/bazelbuild/bazel/pull/12248/files/939e4cadf7a49a316017d207bd4504ac0c10373c#r503552367. Closes #12309. Change-Id: I5dad55b3bb3b3e245a90f4d75e740c63754ff61c PiperOrigin-RevId: 338255283
- Loading branch information
1 parent
21b5eb6
commit 7292e3b
Showing
6 changed files
with
25 additions
and
17 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
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