Merge lp:~aauzi/midori/fix-1179200-7 into lp:midori
Status: | Work in progress | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~aauzi/midori/fix-1179200-7 | ||||
Merge into: | lp:midori | ||||
Diff against target: |
86 lines (+56/-2) 1 file modified
midori/midori-bookmarks-db.c (+56/-2) |
||||
To merge this branch: | bzr merge lp:~aauzi/midori/fix-1179200-7 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Cris Dywan | code-review | Approve | |
Midori Devs | Pending | ||
Review via email: mp+200058@code.launchpad.net |
This proposal supersedes a proposal from 2013-09-18.
Commit message
Transactions for bookmarks
Description of the change
Seventh step for merge of fix-1179200
Here the database transactions are added in bookmarks addition to improve the processing speed.
Import bookmarks time is significantly reduced: my 870 bookmark items formerly imported in 9mn40s are now imported in approx 2s.
I've reconsidered my position about queing database operations and processing them in idle time.
The fact is that those queing where originally motivated by my observation of multiple updates consecutive of drag-n-drop operations in the bookmarks panel.
Another fact is that they are significantly modified by the way I've reworked the bookmark panel to allow multiple selection drag-n-drop (this is coming in next steps and bug-894143).
I'll see, when it comes to the actual merge of this bug if this design is still necessary.
I apologize for the delay on processing the former remarks, I was kind of busy afk after summer time.
Unmerged revisions
- 6526. By André Auzi
- 6525. By André Auzi
-
improve bookmarks import performance using db transactions
Importing ~70 bookmarks was reasonably quick