Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(304)

Issue 7033043: [Sync] Speed up sync node browser/search in about:sync (Closed)

Created:
9 years, 6 months ago by akalin
Modified:
9 years, 6 months ago
CC:
chromium-reviews, ncarter (slow), idana, Raghu Simha, arv (Not doing code reviews), Paweł Hajdan Jr., tim (not reviewing)
Visibility:
Public.

Description

[Sync] Speed up sync node browser/search in about:sync Also lay the groundwork for an auto-refreshing sync node browser. In syncable/, add GetChildHandlesByHandle method and expose GetAllMetaHandles. In syncapi.{h,cc}, add getNodeSummariesById message. Also make findNodesContainingString message use GetAllMetaHandles. Finally, in the about:sync Javascript code, use getNodeSummariesById when possible. This speeds up large operations (e.g., opening up the Autofill folder, searching for a single letter) by an order of magnitude or so. Cleaned up docs for some Javascript functions. BUG=76811 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=87736

Patch Set 1 #

Total comments: 18

Patch Set 2 : Address comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+673 lines, -447 lines) Patch
M chrome/browser/resources/sync_internals/chrome_sync.js View 2 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/resources/sync_internals/sync_node_browser.js View 1 chunk +107 lines, -53 lines 0 comments Download
M chrome/browser/resources/sync_internals/sync_search.js View 5 chunks +27 lines, -21 lines 0 comments Download
M chrome/browser/sync/engine/conflict_resolver.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/sync/engine/syncapi.h View 1 2 chunks +71 lines, -37 lines 0 comments Download
M chrome/browser/sync/engine/syncapi.cc View 1 13 chunks +178 lines, -186 lines 2 comments Download
M chrome/browser/sync/engine/syncapi_unittest.cc View 1 11 chunks +155 lines, -114 lines 0 comments Download
M chrome/browser/sync/engine/syncer_unittest.cc View 7 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/sync/engine/syncer_util.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/syncable/syncable.h View 1 4 chunks +21 lines, -2 lines 0 comments Download
M chrome/browser/sync/syncable/syncable.cc View 1 5 chunks +67 lines, -12 lines 0 comments Download
M chrome/browser/sync/syncable/syncable_unittest.cc View 1 5 chunks +24 lines, -3 lines 0 comments Download
M chrome/test/sync/engine/test_syncable_utils.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
akalin
+lipalani for review. Let me know if you need me to walk through the Javascript ...
9 years, 6 months ago (2011-06-02 08:29:12 UTC) #1
lipalani1
I would like a walk through with you for the js code and the js ...
9 years, 6 months ago (2011-06-02 18:51:52 UTC) #2
akalin
Addressed all comments, please take another look. Also, I can walk through the JS code ...
9 years, 6 months ago (2011-06-02 22:13:33 UTC) #3
lipalani1
all changes looks good. let us walk through the JS code. thx
9 years, 6 months ago (2011-06-02 22:37:34 UTC) #4
lipalani1
just one comment. rest makes sense. http://codereview.chromium.org/7033043/diff/4003/chrome/browser/sync/engine/syncapi.cc File chrome/browser/sync/engine/syncapi.cc (right): http://codereview.chromium.org/7033043/diff/4003/chrome/browser/sync/engine/syncapi.cc#newcode1207 chrome/browser/sync/engine/syncapi.cc:1207: This list does ...
9 years, 6 months ago (2011-06-02 23:06:39 UTC) #5
akalin
http://codereview.chromium.org/7033043/diff/4003/chrome/browser/sync/engine/syncapi.cc File chrome/browser/sync/engine/syncapi.cc (right): http://codereview.chromium.org/7033043/diff/4003/chrome/browser/sync/engine/syncapi.cc#newcode1207 chrome/browser/sync/engine/syncapi.cc:1207: On 2011/06/02 23:06:39, lipalani1 wrote: > This list does ...
9 years, 6 months ago (2011-06-02 23:14:58 UTC) #6
lipalani1
LGTM. thx
9 years, 6 months ago (2011-06-02 23:15:02 UTC) #7
commit-bot: I haz the power
9 years, 6 months ago (2011-06-03 00:26:03 UTC) #8
Change committed as 87736

Powered by Google App Engine
This is Rietveld 408576698