-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
Commonly known performance gotchas? #581
Comments
Can you update the tick rate? This is the default:
The number is in milliseconds, so increasing it to 1000 or 4000 should only cause updates once every 1 or 4 seconds. I'd also look at the debug log output. Set the following environment variable:
And then check for a log file in the XDG data folder: https://docs.rs/directories/5.0.1/directories/struct.ProjectDirs.html#method.data_dir That should give you some insight into what is going on. |
Possibly related to #545 |
Have you modified 'task-detail-prefetch' in taskrc? Have you modified any other any other settings? To my understanding taskwarrior-tui does not modify tasks on startup.
|
I set these and we're cruisin' again. Thanks, all!
By the way, it's probably not my hook because the hook logs and it's not logging. |
+1 data point on the issue: I have 6k tasks in taskwarrior (though only <70 pending ones), and taskwarrior-tui was unusable with updates happening every 4+ seconds or so Using the lines pasted above by @ThomasGHenry solved this! I can finally try taskwarrior-tui out :) |
So I'm suspecting it may actually be the prefetch that is making taskwarrior-tui lag, as I have similar experiences with ~400 tasks. |
Hiya!
Thanks for this! In my first 3~4 days of using it, I was FLYING. It was awesome. Now I'm about 700 tasks in on day 10 or so, and it's unusably slow, even to the point of impacting the rest of my system (MacOS - Sonoma 14.4.1). I just open it and have to kill it. Fan turns on system gets hot, all that good stuff.
Has anyone seen this? Where should I look first? Also,
task
andtasksh
and other taskwarrior tools work fine.I don't think it's a memory leak. I think it's working hard at something. I do have a hook on modify. Is there some automatic modification is does to all the tasks on coming up? I just thought of that, so I'll disable the hook and report back while I await your suggestions.
Thanks!
The text was updated successfully, but these errors were encountered: