Planner: Optimization needed

Created on 9 Mar 2019  路  5Comments  路  Source: alainm23/planner

Laptop info:

  • i3-5005U
  • 4GB RAM

With a large number of tasks, the application starts to slow down terribly.
Editing data in the Planner becomes extremely difficult.
Only one CPU core is used.

In idle with all loaded projects consumes ~13% of CPU.

Analysis of slow loading of projects showed that it takes a lot of time to create new TaskRow (over 1000 lines of code, a large part of which is a constructor).

In this regard, I have to edit the data directly in the database.

25% CPU

In Progress

All 5 comments

Thanks for the comment, you are right, do not optimize Planner when the user creates many tasks, I will improve it for a next release.

With just 4 tasks this is idling at 5% cpu, more than chrome on idle. There's some serious optimization needed on this program.

@ie900 You can try Planner 2 to do the same test please. I think that with this new version performance was greatly improved.

I don't have the _same_ test anymore, but I'll do a _similar_ one and report the results.

| Tasks | CPU |
| ----- | ------- |
| 000 | ~00% |
| 100 | ~03-05% |
| 200 | ~09-10% |
| 300 | ~11-12% |
| 400 | ~13-14% |
| 500 | ~15-16% |

But it no longer suffers from usability issues. Good job.

And also I found bugs:

  • When you create a task, it can include all existing tasks (including itself) in its checklist.
  • When you add a task to a section, this task can also be included in the project body.
Was this page helpful?
0 / 5 - 0 ratings

Related issues

safareli picture safareli  路  6Comments

brcmesquita picture brcmesquita  路  6Comments

Philip-Scott picture Philip-Scott  路  4Comments

zedtux picture zedtux  路  4Comments

Brin-o picture Brin-o  路  5Comments