-
Notifications
You must be signed in to change notification settings - Fork 460
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
V1.0.6 taskboard optimization #1095
base: master
Are you sure you want to change the base?
V1.0.6 taskboard optimization #1095
Conversation
Very interested in these changes since we have performance problems with backlogs, |
I should have checked that. I'll update my branch as soon as I find a time. As to the performance problems, the biggest problem of taskboards' user experience actually turned out to be the sheer size of the entire html. It grew linearly to over 1.5 MB with our case, and it takes browsers about 20 seconds to process DOM and render after the data is downloaded. Reducing server response from 20 seconds to 10 is significant, but it seems a more drastic approach might be needed in the big picture. |
@ctlajoie
|
Taskboard tab calculates and loads users color preference for all the tasks listed in Taskboard. A simple fix for this would be making an Ajax call that loads user's color setting whenever assigne is changed |
@ippeiukai My mistake. As you say, there is no problem with the merge. :) |
@AllThatIsTheCase @relaxdiego @Vanuan is this project dead? In that case, maybe @ippeiukai wants to take care of it in his fork or something? |
Unfortunately @ippeiukai does not want to take care of it... I was only trying to prolong its life a bit for my team. It was already in use when I joined it. We managed to get it performant enough to get it practical again this time, but don't see why we'd choose to continue with this plugin for future projects. I wish more skilled devs love this plugin, but I suspect devs do not benefit directly from maintaining it unlike team leaders and managers. It's different from some open source software that become directly relevant to their or their clients' products. |
@Jellyfrog @ippeiukai I suspect that all other original developers have moved on to other project management software making their future contributions to this project impractical/unfeasible. That was certainly my case a few years back (I prefer to contribute to projects that I personally use because I believe that has a direct effect on quality). If anyone is still using this plugin and is willing to maintain it, I'd be happy to give you commit rights. Otherwise, check out @finnlabs fork of it for OpenProject at https://github.com/finnlabs/openproject-backlogs |
FinnLabs' fork is definitely more active now (and is backed financially, I suspect). |
@waleedjaffar As I know, Rails uses SQL caching, so if you have 100 users and each of them has 50 task in a sprint, it will generate 100x50 SQL queries, but only 100 will hit the database. In the logs you can see |
This has cut off total about 40-50% of server side response time with a large sprint with number of stories+tasks exceeding 1000.
Changes are:
task.status.id
->task.status_id
) in app/views/rb_taskboards/show.html.erbrender :partial => 'name'
which resolves the partial from name every time.