Closed
Bug 507296
Opened 15 years ago
Closed 15 years ago
Sync bookmarks and history in batched mode
Categories
(Firefox :: Sync, defect, P1)
Firefox
Sync
Tracking
()
RESOLVED
FIXED
0.6
People
(Reporter: Mardak, Assigned: Mardak)
References
Details
Attachments
(1 file)
3.36 KB,
patch
|
hello
:
review+
|
Details | Diff | Splinter Review |
Batched mode for creating bookmarks means we don't cause sqlite to write to disk on every created bookmark and only do so after all the bookmarks have synced. I ran a test with my profile with ~650 fat bookmarks (10KB each) with sync time instrumentation from bug 506321. All the following use close to latest 1.9.2a1pre and are number of seconds to apply the incoming ~650 bookmarks. Entries with * are for batched results: samsung nc10: 361 dell mini 10: 360 fennec n810: 219 * fennec n810: 127 macbook 13": 12 * samsung nc10: 11 * dell mini 10: 11 * macbook 13": 5 So devices with slow disks get a ton of improvement, and a "real profile" with small bookmarks could see more gains assuming the improvements come from getting rid of per-write overheads.
Assignee | ||
Comment 1•15 years ago
|
||
Assignee | ||
Updated•15 years ago
|
Target Milestone: --- → 0.6
Updated•15 years ago
|
Attachment #391491 -
Flags: review?(thunder) → review+
Comment 2•15 years ago
|
||
Comment on attachment 391491 [details] [diff] [review] v1 Awesome! :) r=thunder
Updated•15 years ago
|
Flags: blocking-weave1.0+
Priority: -- → P1
Assignee | ||
Comment 3•15 years ago
|
||
http://hg.mozilla.org/labs/weave/rev/4899f703a5d7 Wrap the original SyncEngine._sync function with a call to runInBatchMode, so SQL disk writes happen at the end of batch mode instead of on every change.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•