High CPU usage when browser idle
-
Turns out Calendar is the culprit (I don't use Feeds/Tasks/Mail).
I disabled Mail/Calendar/Feeds in the options and now it works as it should without pegging the CPU.
However, I'd rather not have Calendar disabled as my life's chaotic enough as it is, how am I to diagnose the problem within Calendar?
-
@bughunta said in High CPU usage when browser idle:
how am I to diagnose the problem within Calendar?
Please check Troubleshooting issues and report that to bug tracker.
-
I've traced the problem to a rogue calendar. I had it imported as a WebCal calendar, and this caused the problems.
As a workaround I created a new calendar on my CalDAV server, imported the items into that and it works fine.
-
I'm putting in a bug tracker report...
-
@bughunta Thanks for the detailed bug report. Do you still have the same events showing in your calendar as before just moved to a caldav calendar? And that performs ok?
I have tried adding the calendar mentioned in the bug and it did add some CPU load but nothing in the severity you describe.
One thing that could help with debugging this if you are willing to try it out. If you could re-add the web calendar and see if there is a difference on the load based on view settings. That is with different periods, like day/week/month as well as showing full event info or just minimal. If you do, please add findings to the bug report, it will help us to figure this out.
Thanks a lot for taking the time to report your issues, it is appreciated
-
@eggert said in High CPU usage when browser idle:
Do you still have the same events showing in your calendar as before just moved to a caldav calendar?
Yes
And that performs ok?
Yes
I have tried adding the calendar mentioned in the bug and it did add some CPU load but nothing in the severity you describe.
I have a relatively old processor (4th gen Intel i5 mobile) which might explain the disparity between the performance hit you experience and the one I experience.
One thing that could help with debugging this if you are willing to try it out. If you could re-add the web calendar and see if there is a difference on the load based on view settings. That is with different periods, like day/week/month as well as showing full event info or just minimal.
I did try with the calendar tab closed but it didn't seem to make any difference. I could re-add the calendar but I don't think there's much point...
Thanks a lot for taking the time to report your issues, it is appreciated
Thanks for trying to fix them. I love Vivaldi!
-
@bughunta Thanks for the reply. It is interesting that this works with the events in a caldav calendar. I did recently (still long enough ago that it should be included in all releases) make some performance fixes for large web calendars which improved the parsing of them by at least one order of magnitude. Apparently there is still more work to do.
Since it still was slow with no calendar view open and it works with the same events now synced over caldav it is most likely not related to any UI rendering of the calendar but rather background handling of web calendar data and syncing, this is useful information.
I can unfortunately not make any promises on delivery since there are a lot of things to work on but I will do my best to look further into it.
Glad you like Vivaldi. Thanks again for the feedback
-
It's not a big showstopping bug for me, but it would be nice to have really good WebCal support.
The calendar in question is only ~120 entries, not that big... anyway it's working in fine imported into the CalDAV server so despite being a workaround it's no less convenient than being a WebCal calendar.
Thanks!!
-
@bughunta I went digging again and found an issue causing [depending on calendar size] up to a huge amount of unnecessary loading and manipulation of calendar data when syncing web calendars. On my computer which is decently powerful it would cause 100% load for over 2 minutes every 10 minutes with ~700 event calendar so for an older machine it could easily cause constant high load.
Pretty sure it was the cause of your issue. A fix is pushed to our development branch, it should go out with next releases of all our channels.
Thanks for raising the issue
-
@eggert This is why Vivaldi is the best!