Calendar is very slow if used for a couple of years.
Problem Currently the Simple calendar is very slow for me. I'm using it for a couple of years and have about 1-2 events a day. Opening the application sometimes takes several seconds, it's super slow for a database of maybe 1000 events! Opening or saving modified event can also take a couple of seconds! Event leaving about screen to the main screen (I use Monthly view) takes 2-3 seconds.
Proposal Optimize the code of showing main screen (Monthly view?) because it's very non-optimal and super slow. In fact showing the current month with 30 events should take milliseconds if it's organized properly. But currently the database of previous year affects the performance drastically for me.
Versions v6.15.1 Pro from f-droid. Andoid 8.1
Other P.S. Thanks a lot for your apps!
@baack Would you like to share the size of your .ics file?
I have 1.07 MB of the .ics file, and Simple-Calendar cold startup (after phone restart) and hot startup (regular usage) do not have any sign of slowing down. It is fast. The CalDav sign is also OK.
@azzamsa mine is less than 400KiB. It's not about the size, I think. The amount of data is very small, it's about processing it, probably.
P.S. I provided access to Storage and exporting *.ics files for the first time. Now I'm noticing that cold start and import of 1 event is way faster than I usually had.
Maybe it's an illusion. Or maybe actually one of application updates fixed something. Or maybe internal base was remade during export. Or maybe because I killed to app to force a "cold" start - now it will work faster for a while.
I can keep you posted.
I can keep you posted.
Thanks.
Fyi. 1.07 MB is a result of constant journaling I started since 2014. So it consists of many events and descriptions.
I observed the same behavior, I have been using the app for a long time with a Posteo CalDav calendar synchronized through davx5, very often the app runs slow and it usually helps to kill it though the task manager. I usually restart my phone every couple weeks, so this does not require a very long execution time to show up. EDIT: I am running the latest F-Droid version on Android 7.1.2
I can confirm the behaviour. I have been using the app for a couple of years. Simple Calendar Pro became very slow every time to display the month view; maybe 5 seconds or so. I exported an .ics backup file and it was about 340KiB. After exporting it, the month view now displays very fast.
Problem: slow display of month view What worked: export a .ics file What didn't work: restarting the app or the phone