Skip to content

perf: 프로젝트 하위 디렉토리를 병렬로 탐색 - #73

Merged
ohing504 merged 1 commit into
perf/concurrent-scanfrom
perf/parallel-walk
Oct 29, 2026
Merged

ohing504 merged 1 commit into
perf/concurrent-scanfrom
perf/parallel-walk

Conversation

@ohing504

@ohing504 ohing504 commented Oct 28, 2026 •

Copy link
Copy Markdown
Owner

#72 위에 쌓인 PR. #72 머지 후 base를 main으로 변경.

변경

  • 프로젝트 탐색이 하위 디렉토리를 병렬로 읽는다 (최대 8개, 크기 측정과 별도)

이유

#72 적용 후 프로젝트 탐색(27초)이 가장 긴 단계였다.

결과

  • 프로젝트 탐색 27초 → 10~11초
  • 홈 전체 스캔 3336초 → 2835초. 출력은 같다.

문서

  • docs/ARCHITECTURE.md § Walk engine
  • SPEC, decision 변경 없음

🤖 Generated with Claude Code

The project walk read every directory under the scan root with one
goroutine. A directory it would descend into is now handed to its own
goroutine, with a copy of the ancestors' project contexts, while one of
8 walk slots is free. Results are still sorted by (table order, path).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ohing504 ohing504 changed the title perf: walk project subtrees in parallel perf: 프로젝트 하위 디렉토리를 병렬로 탐색 Oct 29, 2026
@ohing504
ohing504 merged commit cad3a76 into perf/concurrent-scan Oct 29, 2026
@ohing504
ohing504 deleted the perf/parallel-walk branch October 29, 2026 13:17
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.

1 participant