Repository navigation
test(session): 세션 목록 PostgreSQL 성능 실측 및 결과 문서화 - #151
Merged
Merged
Conversation
6 tasks done
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.
왜 필요한가요?
Issue #130 / PR #150의 누락된 실제 PostgreSQL query count 및 실행 계획 비교 근거를 남깁니다.
무엇이 바뀌나요?
책임 경계
어떻게 검증했나요?
./gradlew clean test./gradlew postgresIntegrationTest./gradlew buildcd frontend && npm ci && npm test && npm run lint && npm run build실측 결과를
docs/benchmarks/session-library-issue-130.md에 기록하고docs/architecture/session-list-resume.md에서 연결했습니다. 실측 artifact: Actions #40360701473. 세션 20/50/100의 SQL 호출: legacy 101/251/501 vs 현재 1/1/2. 서비스 경과 시간 중앙값(ms): legacy 69.025/153.307/248.573 vs 현재 2.966/3.169/5.569. 6,000행 fixture에서 전체 projection SQL이 V22의 정렬 및 mutation 인덱스를 사용한 실제 EXPLAIN 계획을 기록했습니다. legacy는 이전 repository 호출 패턴 재현이며 과거 운영 계측값이 아닙니다. CI에서 한번의 컴파일 실패(JdbcTemplate query lambda overload)를 확인해 명시적 ResultSetExtractor 타입으로 수정했습니다. 벤치마크 실행 CI #40360701473 및 최종 문서 반영 CI #40361167438 모두 전체 통과. 미수행 브라우저 smoke는 체크하지 않았습니다.게임 상태·AI 안전성
DB fixture를 사용하는 읽기 벤치마크이며 production API 및 provider 변경 없음.
보안·비용
외부 provider 호출 없음. Testcontainers만 사용.
API·DB·운영 영향
Schema 및 API 계약 변경 없음. 기존 Testcontainers CI에서 추가로 실행하므로 러닝타임 증가 가능.
화면 / 응답 예시
API/UI 변경 없음.