-
Notifications
You must be signed in to change notification settings - Fork 1.6k
fix: reduce GPU usage in Agent Manager with message virtualization #4647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: reduce GPU usage in Agent Manager with message virtualization #4647
Conversation
- Implement react-virtuoso for message list rendering - Only render visible messages + buffer (400px top/bottom) - Reduces DOM nodes by ~96% (1,500 → 54 nodes for 3 agents) - Aligns with sidebar architecture (ChatView.tsx) - Update CSS for proper Virtuoso container sizing - Add Virtuoso mock to tests Expected GPU usage reduction: ~96% (from ~25% to <8% per session) Fixes high GPU usage when running multiple parallel AI agents
🦋 Changeset detectedLatest commit: e43c37b The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ No Issues Found4 files reviewed | Confidence: 95% | Recommendation: Merge Review DetailsFiles:
Checked: Security, bugs, performance, error handling Analysis:
|
✅ Previous Issues AddressedThe following issues from my previous review have been resolved:
No new issues found in the latest changes. Review Details (4 files)Files reviewed:
Checked: Security, bugs, performance, error handling Implementation notes:
Recommendation: Merge |
Expected GPU usage reduction: ~96% (from ~25% to <8% per session)
Fixes high GPU usage when running multiple parallel AI agents