Skip to content

perf: cache plugin file-path resolution in file_svc to reduce repeated directory walks#3327

Open
deacon-mp wants to merge 1 commit into
masterfrom
fix/file-svc-path-cache
Open

perf: cache plugin file-path resolution in file_svc to reduce repeated directory walks#3327
deacon-mp wants to merge 1 commit into
masterfrom
fix/file-svc-path-cache

Conversation

@deacon-mp
Copy link
Copy Markdown
Contributor

find_file_path() walks plugin directories on every call. Added LRU cache. With tests.

Add path cache to avoid repeated filesystem walks for known files.
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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.

2 participants