As the cache file becomes large, performance is dramatically reduced
Bug #937149 reported by
Andrew Hayzen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HTD |
Fix Released
|
High
|
Andrew Hayzen |
Bug Description
Hi
As the cache file becomes large, performance is dramatically reduced.
This can be produced by:
1) Opening 2 cursors
2) Do many tasks on cursor 1
3) Cache file is very large
4) Do performance test on cursor 1
Note that the same test as with an empty cache file can take double the amount of time.
Instead of holding all of the changes, the cache file should only hold the required information for each open cursor to get up to date in one step.
This also means that as work is done on the open file the performance won't degrade it will be the same.
Andy
Related branches
lp:~ahayzen/htd/3.0.fix-937149
- Andrew Hayzen: Approve
-
Diff: 534 lines (+220/-175)1 file modifiedhtd/htd.py (+220/-175)
Changed in htd: | |
milestone: | none → alpha-2 |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Andrew Hayzen (andrew-hayzen) |
tags: | added: performance |
Changed in htd: | |
status: | Triaged → In Progress |
Changed in htd: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This bug has been fixed via the new branch, which has been merged into the main branch.
Andy