Repository navigation
perf: 파일 검색 응답 속도 개선 - #32
Merged
Merged
Conversation
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.
문제와 변경 후 동작
검색어를 편집할 때마다 하위 폴더를 다시 읽어 결과가 늦게 나타났습니다. 폴더 목록을 최대 10초·10만 항목까지 재사용하고, 입력 대기를 75ms로 줄이며 찾은 결과부터 표시합니다. 새로고침·폴더 이동은 캐시를 교체하고 취소는 실제 읽기까지 전달합니다.
검증
./scripts/check.sh통과, 전체 34개 테스트 통과.리뷰
셀프 리뷰입니다. 캐시 예산·만료·취소된 읽기의 경합, 새로고침으로 추가 파일 반영, 기존 500개 제한과 오류/심볼릭 링크 규칙을 확인했습니다.
남은 제한
파일 내용 검색은 기존과 같이 지원하지 않습니다. 외부 파일 변경은 다음 검색에서 캐시 만료 또는 새로고침 후 반영합니다.