Deleting tasks in liblarch takes a lot of time and hangs the ui
Bug #631771 reported by
Luca Invernizzi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GTG |
Fix Released
|
Critical
|
Izidor Matušov |
Bug Description
.
Changed in gtg: | |
status: | Triaged → In Progress |
assignee: | nobody → Luca Invernizzi (invernizzi) |
Changed in gtg: | |
status: | In Progress → Fix Committed |
Changed in gtg: | |
status: | Fix Committed → In Progress |
Changed in gtg: | |
status: | In Progress → Fix Committed |
assignee: | Luca Invernizzi (invernizzi) → Izidor Matušov (izidor) |
milestone: | 0.3 → 0.2.9 |
Changed in gtg: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I think I've a fix for this.
Removing tasks in my test version takes : "DELETING 200 NODES: 0.045737".
I found with profiling that the function that took the most time was: reordered of module of tree_testing.py (14 sec. on my pc.)
So I think I removed the need for this, my code passes all tests (Except the one for date, because my locale is french.), and I was able to remove tutorial taks. (This means a task with children). I've no idea how I can further test this, so I'm attaching a patch, that would be better to try in another branch to avoid my other error. (With dates.py)
Posting patch in 2 mins.