-
Notifications
You must be signed in to change notification settings - Fork 450
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
High energy impact when Talk tab is visible, none when invisible #4501
Comments
Doesn't happen when loading Talk without entering a room. I had one rare case where I first joined an existing 1-1 room and the impact was still low. Then after switching between rooms and coming back it went up to medium again. I've tried hiding all visible elements with "display:none" but the impact is still there: so it's not a rendering issue. |
removing |
|
Deleting the DOM nodes of the EmojiPicker in the inspector did not solve the issue. I've checked the EmojiPicker in the Vue style guide here https://nextcloud-vue-components.netlify.app/#/Components/EmojiPicker and despite its presence the performance impact is not observed there. So it must be something specific to the layout here in Talk |
I went up to EmojiPicker.vue and the problem disappeared if I removed the The |
Updating to the latest version (7.0.7) did not help. If I replace "Picker" with "StaticPicker" in nextcloud-vue, the performance problem disappears. I saw that "Picker" is using "DynamicScroller" aka virtual scrolling, and maybe somehow that bit is doing something in the background... or causing those repeated GC events, even though nothing is rendered yet. Visually, the static picker looks the same and also has a search box. Also see serebrov/emoji-mart-vue#80 @skjnldsv @ma12-co |
great research @PVince81 ! |
|
Steps to reproduce
Note: if the medium impact doesn't happen, try switching between multiple rooms, then observe again.
Expected behaviour
Low performance impact when no poll request is happening.
Actual behaviour
Medium performance impact despite no network requests happening.
Talk app
Talk app version: 10.0.0 (on NC's company cloud) and 11.0 pre-alpha on git (a9fb5ba)
Custom Signaling server configured: yes for NC cloud, no for local one.
Notes
This is important nowadays because people might leave a Talk window present on another monitor like I do, or another virtual desktop (on Linux)
I tried the performance graph tool from Firefox but could not yet found anything significant apart from some GC triggers.
The text was updated successfully, but these errors were encountered: