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

Issue 9959086: Add probability of culling if sync is enabled to https://chromiumcodereview.appspot.com/9585020/ In… (Closed)

Created:
8 years, 8 months ago by GeorgeY
Modified:
8 years, 8 months ago
CC:
chromium-reviews, GeorgeY, ncarter (slow), akalin, dhollowa+watch_chromium.org, dyu1, Raghu Simha, Ilya Sherman, tim (not reviewing)
Visibility:
Public.

Description

Add probability of culling if sync is enabled to https://chromiumcodereview.appspot.com/9585020/ Initially set it to 0%. Original cl: Cull autofill entries older than 60 days. Tested with 20K Autocomplete entries selected 100000 times. 500 of them are in range. ---Start MergeDataAndStartSyncing for autofill Read from db - 7s Sift through them selecting only those needed for update - ~0.5s Process 476 changes - <1s ---End MergeDataAndStartSyncing for autofill - total ~8.5 s Callback back after deleting extra entries - 17s BUG=28990 TEST=unit-test Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=130852

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed Ilyas' comment #

Patch Set 3 : addressed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+429 lines, -96 lines) Patch
M chrome/browser/autofill/personal_data_manager.cc View 2 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_autofill_unittest.cc View 2 chunks +13 lines, -8 lines 0 comments Download
M chrome/browser/webdata/autocomplete_syncable_service.h View 3 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/webdata/autocomplete_syncable_service.cc View 1 2 11 chunks +130 lines, -34 lines 0 comments Download
M chrome/browser/webdata/autofill_entry.h View 2 chunks +11 lines, -6 lines 0 comments Download
M chrome/browser/webdata/autofill_entry.cc View 3 chunks +29 lines, -12 lines 0 comments Download
M chrome/browser/webdata/autofill_entry_unittest.cc View 2 chunks +41 lines, -11 lines 0 comments Download
M chrome/browser/webdata/autofill_table.h View 2 chunks +17 lines, -5 lines 0 comments Download
M chrome/browser/webdata/autofill_table.cc View 7 chunks +121 lines, -16 lines 0 comments Download
M chrome/browser/webdata/autofill_table_unittest.cc View 1 chunk +8 lines, -3 lines 0 comments Download
M chrome/browser/webdata/web_data_service.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/webdata/web_data_service.cc View 2 chunks +32 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
GeorgeY
new changes are in src/chrome/browser/webdata/autocomplete_syncable_service.cc only - see CullSyncedData()
8 years, 8 months ago (2012-04-03 00:07:01 UTC) #1
Ilya Sherman
LGTM, thanks
8 years, 8 months ago (2012-04-03 00:09:25 UTC) #2
Ilya Sherman
https://chromiumcodereview.appspot.com/9959086/diff/1/chrome/browser/webdata/autocomplete_syncable_service.cc File chrome/browser/webdata/autocomplete_syncable_service.cc (right): https://chromiumcodereview.appspot.com/9959086/diff/1/chrome/browser/webdata/autocomplete_syncable_service.cc#newcode83 chrome/browser/webdata/autocomplete_syncable_service.cc:83: bool CullSyncedData() { nit: Actually, perhaps "ShouldCullSyncedData()"?
8 years, 8 months ago (2012-04-03 00:13:36 UTC) #3
GeorgeY
https://chromiumcodereview.appspot.com/9959086/diff/1/chrome/browser/webdata/autocomplete_syncable_service.cc File chrome/browser/webdata/autocomplete_syncable_service.cc (right): https://chromiumcodereview.appspot.com/9959086/diff/1/chrome/browser/webdata/autocomplete_syncable_service.cc#newcode83 chrome/browser/webdata/autocomplete_syncable_service.cc:83: bool CullSyncedData() { On 2012/04/03 00:13:36, Ilya Sherman wrote: ...
8 years, 8 months ago (2012-04-03 00:28:44 UTC) #4
Ilya Sherman
LGTM
8 years, 8 months ago (2012-04-03 00:31:05 UTC) #5
Nicolas Zea
https://chromiumcodereview.appspot.com/9959086/diff/1/chrome/browser/webdata/autocomplete_syncable_service.cc File chrome/browser/webdata/autocomplete_syncable_service.cc (right): https://chromiumcodereview.appspot.com/9959086/diff/1/chrome/browser/webdata/autocomplete_syncable_service.cc#newcode177 chrome/browser/webdata/autocomplete_syncable_service.cc:177: new_changes.push_back(SyncChange(SyncChange::ACTION_DELETE, This logic should also be protected by CullSyncedData(), ...
8 years, 8 months ago (2012-04-03 00:39:09 UTC) #6
GeorgeY
https://chromiumcodereview.appspot.com/9959086/diff/1/chrome/browser/webdata/autocomplete_syncable_service.cc File chrome/browser/webdata/autocomplete_syncable_service.cc (right): https://chromiumcodereview.appspot.com/9959086/diff/1/chrome/browser/webdata/autocomplete_syncable_service.cc#newcode177 chrome/browser/webdata/autocomplete_syncable_service.cc:177: new_changes.push_back(SyncChange(SyncChange::ACTION_DELETE, On 2012/04/03 00:39:09, nzea wrote: > This logic ...
8 years, 8 months ago (2012-04-03 16:55:01 UTC) #7
Nicolas Zea
lgtm
8 years, 8 months ago (2012-04-03 16:55:44 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/georgey@chromium.org/9959086/5003
8 years, 8 months ago (2012-04-03 16:56:12 UTC) #9
commit-bot: I haz the power
Try job failure for 9959086-5003 (retry) on mac_rel for step "compile" (clobber build). It's a ...
8 years, 8 months ago (2012-04-03 17:45:13 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/georgey@chromium.org/9959086/5003
8 years, 8 months ago (2012-04-03 18:04:08 UTC) #11
commit-bot: I haz the power
Try job failure for 9959086-5003 (retry) on mac_rel for step "compile" (clobber build). It's a ...
8 years, 8 months ago (2012-04-03 18:45:57 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/georgey@chromium.org/9959086/5003
8 years, 8 months ago (2012-04-03 18:55:19 UTC) #13
commit-bot: I haz the power
Try job failure for 9959086-5003 (retry) on win_rel for steps "browser_tests, unit_tests". It's a second ...
8 years, 8 months ago (2012-04-03 22:42:53 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/georgey@chromium.org/9959086/5003
8 years, 8 months ago (2012-04-03 22:46:41 UTC) #15
commit-bot: I haz the power
Try job failure for 9959086-5003 (retry) on mac_rel for step "compile" (clobber build). It's a ...
8 years, 8 months ago (2012-04-03 23:34:35 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/georgey@chromium.org/9959086/5003
8 years, 8 months ago (2012-04-04 01:10:02 UTC) #17
commit-bot: I haz the power
Try job failure for 9959086-5003 (retry) on win_rel for steps "browser_tests, unit_tests". It's a second ...
8 years, 8 months ago (2012-04-04 05:08:30 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/georgey@chromium.org/9959086/5003
8 years, 8 months ago (2012-04-04 16:49:49 UTC) #19
commit-bot: I haz the power
Try job failure for 9959086-5003 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 8 months ago (2012-04-04 17:54:14 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/georgey@chromium.org/9959086/5003
8 years, 8 months ago (2012-04-04 19:11:45 UTC) #21
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
8 years, 8 months ago (2012-04-05 00:41:26 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/georgey@chromium.org/9959086/5003
8 years, 8 months ago (2012-04-05 00:48:50 UTC) #23
commit-bot: I haz the power
8 years, 8 months ago (2012-04-05 07:15:20 UTC) #24
Change committed as 130852

Powered by Google App Engine
This is Rietveld 408576698