docs(#161): 패킹이 빌드 시간을 줄이지 않는다는 걸 실측으로 정정 - #188
Merged
Conversation
#161 머지 커밋 메시지가 "ReadBuffer(P_NEW)/WAL 호출 감소가 부산물로 빌드 시간도 줄일 것"이라고 추측했는데, 실측해보니 근거 없었다. 같은 호스트(massedcompute_L40S, pg-cuvs-161-buildtime)에서 #161 머지 직전 커밋과 머지 커밋 자체를 각각 2회씩 빌드해 A/B 비교: before 1.6s/1.6s (안정적) vs after 1.8s/1.5s(더 큰 변동폭이지만 before의 안정 구간과 완전히 겹침) — 통계적으로 구분 불가능한 차이. N=100,000에서 버퍼매니저 절감이 있다 해도 실행 간 노이즈보다 작다. index_bytes 2배 축소(이미 커밋된 issue_161_packing_bench.json)는 그대로 유효 — 이건 크기 개선이지 빌드 시간 개선이 아니라는 것만 명확히 한다. BENCHMARK.md §2.1f에 실측 문단 추가, before 행을 "계산값"에서 "실측값"으로 교체. raw 데이터는 bench/results/issue_161_buildtime_ab.json.
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.
Summary
#161(페이지당 다중 원소 패킹) 머지 커밋 메시지가 "버퍼매니저 호출 감소가 부산물로 빌드 시간도 줄일 것"이라고 추측했는데, 사용자 질문("빌드시간 얼마나 줄였어?")에 답하려고 실측해보니 근거 없었다.Test plan
bench/results/issue_161_buildtime_ab.json에 raw A/B 데이터 커밋