Skip to content

⚡ Bolt: 가상화된 이벤트 목록에서 날짜 파싱 오버헤드 제거#280

Open
seonghobae wants to merge 1 commit into
developmentalfrom
bolt-optimize-date-parsing-2411106346274174430
Open

⚡ Bolt: 가상화된 이벤트 목록에서 날짜 파싱 오버헤드 제거#280
seonghobae wants to merge 1 commit into
developmentalfrom
bolt-optimize-date-parsing-2411106346274174430

Conversation

@seonghobae

Copy link
Copy Markdown

💡 What: 가상화된 EventList 컴포넌트에서 매 행(row) 렌더링 시 발생하는 sessionStartedAt 문자열의 날짜 객체 파싱 작업을 상위 컴포넌트의 useMemo를 통해 한 번만 수행하도록 최적화했습니다.
🎯 Why: 수많은 이벤트가 포함된 세션 타임라인을 렌더링할 때, 매 스크롤마다 O(N)의 비효율적인 날짜 파싱 및 객체 할당이 발생하여 가상화 리스트의 성능을 저하시키는 원인이었습니다.
📊 Impact: 문자열 파싱 오버헤드를 O(N)에서 O(1)로 제거하여 타임라인 스크롤링 시의 CPU 연산량과 가비지 컬렉션(GC) 발생을 줄였습니다.
🔬 Measurement: 수백 개의 이벤트가 포함된 세션 페이지에서 타임라인 리스트를 빠르게 스크롤할 때 프레임 드랍이 개선되었는지 크롬 개발자 도구의 Performance 탭을 통해 확인할 수 있습니다.


PR created automatically by Jules for task 2411106346274174430 started by @seonghobae

@google-labs-jules

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

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