Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(awslint): Cache L1 constructs in the CFN resource linter. (#27290)
Incremental change to improve the performance of awslint. `CfnResourceReflection.findByName()` was checking the doc tags of every class in the assembly on each call, taking 170s for `aws-cdk-lib`. This change caches the tagged classes, eliminating the list traversal and taking `findByName` down to ~2s for the same package. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
- Loading branch information