Skip to content
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

Multithreading or Disable Stats #268

Open
Zakkumaru opened this issue Jun 22, 2019 · 4 comments
Open

Multithreading or Disable Stats #268

Zakkumaru opened this issue Jun 22, 2019 · 4 comments
Assignees
Milestone

Comments

@Zakkumaru
Copy link

Zakkumaru commented Jun 22, 2019

I would like to be able to disable the automatic stats that have to calculate each and every time an activity is changed.

The reason for this is, while the app may seem okay when you first test it, it becomes horrendously slow when you have 6k+ entries. To top that off, if you don't wait the entire time for it to do the tediously slow calculations and rearrange everything before you either close the app or "minimize" it, the last activity change won't even save. You'll have to set it again, and manually edit the time.

Wait times have become anywhere between 10 to 60 sec. It's not worth using the app if I need to set my phone down and wait that long. I'd like to be able to just press a button, close the app, and know for 100% sure that it saved, without concerns of having to redo it. The whole interaction with the app should last no more than a second, not a minute.

Thus, I propose a setting to end this automatic recalculation thing. Also, simply arrange the activities according to the last one used. I find this weighed calculation thing to not work as expected, anyway.

There is no need to recalculate stats for nearly 7,000 entries, every time, if it renders the app useless.

@ramack
Copy link
Owner

ramack commented Jun 22, 2019

Thanks for reporting. I totally agree with you that the performance is a nightmare right now and - in a sense - I am happy that someone else sees the problem, because it means I am not the only one really using the app 😃.

About the sorting I also share your oppinion that it doesn't always sort as it should, but I personally still like it in principle so I don't want to remove it. If you want to do a more static sort you should be able to achieve it by adjusting the weights.

@ramack ramack self-assigned this Jun 22, 2019
@ramack ramack added this to the v1.5.0 milestone Jun 22, 2019
@Zakkumaru
Copy link
Author

I think that for the sake of principle, there needs to be at least an option in the settings to disable the weighted sort. Personally, like I said, I'm perfectly fine with just sorting by most recently used. At the very least there should be a "Performance" subsection with options to disable things and just get a straight entry into the database. There's already a stats section, and I don't need it on the main page. Performance tanked once that feature came out.

@nottheend
Copy link

Thanks a lot for implementing! Actually I am having after some minths of using the app also performance problems.

Other possible solution: delete older entries and keep only some "summed results" like duration per month or sth. similar

@nottheend
Copy link

nottheend commented Nov 2, 2020

As a workaround there could be also a deletionof task history, only keeping the structure like activities and behaviour.
Maybe partly overlapping with issue for deleting complete db #173 and #299

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants