Repository navigation
Conversation
Contributor
Author
|
Closing: it saves 5,400 requests but showed no time gain (paired median 49.27s -> 49.29s). |
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.
Depends on #3399; review the last commit.
getSymbolAtLocationwas the biggest group of single requests left on aws-cdk-lib (11,273). Most of them (6,690) come from_unionNodeOf, which looks up the type name of a union-typed member to find the type alias of the union.For the properties of all exported types, these names are now read ahead in one batch with the
readAheadhelper. Only properties whose type, already read ahead by #3399, is a union are included, so no extra names are asked for. A first version read every type name of every member: it saved 6,500 requests, but its extra server work made the build 0.4s slower. That version was dropped. Parameters are left as they are.getSymbolAtLocation: 11,273 single calls -> 5,865; server time 9.83s -> 9.61s.--add-deprecation-warnings,--strip-deprecated) are byte-identical.