Skip to content

Conversation

@glowcloud
Copy link
Contributor

@glowcloud glowcloud commented Nov 28, 2025

Adds cache for apilintPropertyUniqueValue and apilintReferenceNotUsed linter functions. These functions traverse through ApiDOM elements and do computations for each of them. Instead of doing that for each element to which these linting functions need to be applied to, we can cache the results of the first traversal and reuse it, shortening the execution time of validation.

@glowcloud glowcloud marked this pull request as ready for review December 2, 2025 07:01
@glowcloud glowcloud changed the title perf(ls): add cache for validation functions perf(ls): add cache for linting functions Dec 2, 2025
@glowcloud glowcloud merged commit c892835 into main Dec 4, 2025
7 checks passed
@glowcloud glowcloud deleted the ls/validation-rules-performance branch December 4, 2025 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants