This repository was archived by the owner on Mar 15, 2025. It is now read-only.
Java sort vs DB fleid 시간 비교 #465
sangwonsheep
started this conversation in
메모장
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Java Sort
DB fleid
픽 10만 건 조회 결과
결론 : Java Sort가 DB fleid 함수에 비해 4배 정도 빠르다.
이 결과가 나온 이유는 DB 조회(select)도 자주 일어나고, DB에서 정렬 조건에 따라 정렬하는 것이 생각보다 오래걸린다는 것을 확인함.
단순한 정렬이었다면, DB 정렬이 더 빨랐을 것 같음.
폴더에서 가져온 픽 리스트들이 정렬 조건이자 검색 조건이 되어서 시간 소요가 큰 것으로 예측된다.
Beta Was this translation helpful? Give feedback.
All reactions