Docs: 전역 N+1 검사가 보고하지만 N+1 이 아닌 세 종류를 적는다 - #122
Open
jjh75607 wants to merge 1 commit into
Open
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.
Pull Request
Related Issue
Summary
전역 N+1 검사(
query-counter.n-plus-one.enabled)가 보고하지만 N+1 이 아닌 세 종류를 README 두 벌의"이 검사가 못 보는 것" 절에 표로 적는다. 현장 측정에서 잰 비율도 함께 적는다.
Details
공개 스위트 넷에 켜서 보고 80건을 테스트 코드와 대조한 결과, 실제로 나오는 모양은 다음 셋이었다
적지 않고 스타일별로 적었다
임계값을 두지 않는 이유이고, 읽는 사람이 보고를 어떻게 대조해야 하는지(앞선 쿼리가 돌려준 행의 id 인가)를
마지막에 적었다
표본이지 그 코드에 대한 지적이 아니다. 예시는 공개 예제(
spring-petclinic-rest)의 모양으로 썼다CHANGELOG.md[Unreleased]에Changed로 적었다ETC
측정 기록은
~/other/oss-contrib/query-counter-field-test/RESULTS-2026-08-27.md의 발견 2 와 발견 4 다.같은 측정에서 세운 판정 신호 가설(반복이 끊기지 않고 연속인가)은 별도 브랜치에서 시제품으로 재는 중이고
이 PR 과 무관하다.