Constant CPU load using Google Calendar integration with more than 1 calendar
-
Hi
During the last snapshots and stable versions offering Mail and Calendar functionality I tried to integrate my Google Mail and Calendar (Google Workplace).
In my Google account I have around >40K messages and 18 calendars (my own and from co-workers).
I always had about 25% CPU load with Vivaldi and the effect that after closing Vivaldi in the Window Manager the Vivaldi processes didn't stop and the main process ate still about 25% of all available CPU time. I noticed some "freezes"/lags (CPU wasn't at 100%, but Vivaldi stopped responding to user interaction for about 1-3 seconds).
Then I switched from Raspberry Pi OS 32bit to 64Bit -> same effect.
Then I switched to Manjaro ARM 21.06, then 21.07 (both stable) and now Manjaro ARM 21.07 testing.=> I didn't integrate my Google Calendar acccount at first on Manjaro ARM - only my Google Mail account - and WOW, Vivaldi wasn't the CPU hog, it was before. Snappy interactions, no freezes, just the way I love Vivaldi as my main browser workhorse.
Then I tried to pinpoint the problem further using "Vivaldi 4.0.2312.38 (Stable channel) stable (64-Bit)" - still on latest Manjaro ARM (testing branch) on my Raspberry Pi 400:
As soon as I added my Google Calendar account, about 25% of all CPU cycles were constantly eaten away by Vivaldi (even after whole calendar synchronisation and after some hours/days of constantly running).
Then I reduced the exposed calendars by Google (https://www.google.com/calendar/syncselect) to just one calendar.
Since then I have one Google Calendar and Vivaldi still behaves as expected. No more lags/freezes. But the other calendars in my Google Account are "out of reach".
Hopefully this helps for further development.
Maybe the current implementation has some problems with many calendars on Google Calendar from different people. If I shall file a bug report, please give me a short notice, thanks. -
@hilumcool Sorry for late response. Have been out on summer vacation for a while, trying to catch up. We are aware that the Calendar does have too much resource usage in some cases but constant 25% seems to be quite excessive.
If you have still some of the affected setups, does it matter if any calendar window or panel is open? And if so, any difference depending on which view is being shown?
It would be great if you could file a bug report. Though we try to visit the forums it is more likely that we will see it from there to follow up. Please add Calendar in the component field if you do.
And thanks a lot for testing out the calendar and taking the time to report your issues.
-
Hi @eggert
Thanks for your feedback. I'll gladly help testing this further and file a bug report.
How about the following process:
-
I watch out for a new Vivaldi snapshot with your possible fix for the duplicated google calendar events (from "our" other thread https://forum.vivaldi.net/topic/64248/changing-calendar-duplicates-an-event/4?_=1628521719897).
-
I restart my tests (and file a bug report, when there's still the excessive cpu load) with that future snapshot.
For me it doesn't make sense to test the current versions as - I expect - due to your holidays no calendar fixes/features were added in the meantime. Am I correct?
Thanks for your work!
-
-
Yes, you would be correct in assuming that no fixes for calendar that should affect this have been added in the last few weeks.
Hopefully we can get some improvements implemented.
-
Hi @eggert
I retested the cpu load with snapshot 4.2.2406.23-1:
Situation seems mostly unchanged. Only thing to note is, that after closing the last window of Vivaldi, all processes of Vivaldi are terminating after a while (in earlier days I had to manually terminate the processes as their shutdown lasted too long).
=> I can use the Calendar function for my own calendar in Google Workspace but not together with those of my co-workers - as in this case Vivaldi becomes too sluggish/unresponsive.
During my first sync of theses additional calendars my cpu load looks like this:
-
I believe the situation is unchanged with the latest 5.3.2679.58 (Stable channel) (64-bit) version. When I open the calendar tab and try to add/look up an event, it takes several seconds to do anything, typing is slowed down to the point I can write a whole event description before it appears on the screen, and when I click "Done" the even does not show up in the calendar right after the creation - ~10 seconds need to pass before it shows up.
-
I can confirm this, after half a day of not being able to use my favourite browser i found this thread, thanks to OP i found the culprit. Was so happy to finally have my team's shared calendars in Vivaldi and then noticed a constant 100% load from Vivaldi (noticed bc my battery drained way faster than usual).
Tested with stable v5.4 and then also with snapshot v5.5, both have the same problem... as soon as the shared calendars are unticked here https://calendar.google.com/calendar/u/0/syncselect (don't forget to refresh the calendars in vivaldi) CPU usage goes back to normal levels...
It's a real pity, hope this can get fixed soon @eggert
EDIT: also noticed, this is in a forum where it might not get enough attention, I'm on an M1 Macbook (which is of course ARM as well...), but this will affect a lot of people, maybe there is an issue in your internal bug-tracker already for this? an update would be appreciated.
-
Ppafflick moved this topic from VPN on