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

Issue 1052373003: Add Finch experiment to cookie monster. (Closed)

Created:
5 years, 8 months ago by erikchen
Modified:
5 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Finch experiment to cookie monster. The Finch experiment measures the effect of the cookie fetching strategy on startup time. Under the current logic, as soon as any cookie is requested, all cookies are fetched. In one of the paths of the Finch experiment, all cookies are fetched only if all cookies are required. BUG=473483 Committed: https://crrev.com/1dd72a70454392b22a700a46ba99cc64f2875227 Cr-Commit-Position: refs/heads/master@{#328603}

Patch Set 1 #

Patch Set 2 : #

Total comments: 3

Patch Set 3 : Comments from erikwright. #

Total comments: 2

Patch Set 4 : Rebase against top of tree. #

Patch Set 5 : Remove dcheck and rebase against top of tree. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -40 lines) Patch
M content/browser/net/sqlite_persistent_cookie_store.cc View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M net/cookies/cookie_monster.h View 1 2 3 4 4 chunks +36 lines, -22 lines 0 comments Download
M net/cookies/cookie_monster.cc View 1 2 3 4 10 chunks +67 lines, -16 lines 0 comments Download

Messages

Total messages: 22 (2 generated)
erikchen
erikwright: Please review.
5 years, 8 months ago (2015-04-03 01:33:49 UTC) #2
erikchen
On 2015/04/03 01:33:49, erikchen wrote: > erikwright: Please review. The cookie_monster has no behavioral change ...
5 years, 8 months ago (2015-04-03 02:30:23 UTC) #3
erikwright (departed)
https://codereview.chromium.org/1052373003/diff/20001/content/browser/net/sqlite_persistent_cookie_store.cc File content/browser/net/sqlite_persistent_cookie_store.cc (right): https://codereview.chromium.org/1052373003/diff/20001/content/browser/net/sqlite_persistent_cookie_store.cc#newcode471 content/browser/net/sqlite_persistent_cookie_store.cc:471: DeleteSessionCookiesOnStartup(); Isn't this ineffective here? I would think it ...
5 years, 8 months ago (2015-04-07 22:37:09 UTC) #4
erikchen
https://codereview.chromium.org/1052373003/diff/20001/content/browser/net/sqlite_persistent_cookie_store.cc File content/browser/net/sqlite_persistent_cookie_store.cc (right): https://codereview.chromium.org/1052373003/diff/20001/content/browser/net/sqlite_persistent_cookie_store.cc#newcode492 content/browser/net/sqlite_persistent_cookie_store.cc:492: DeleteSessionCookiesOnStartup(); On 2015/04/07 22:37:09, erikwright wrote: > This makes ...
5 years, 8 months ago (2015-04-08 17:44:26 UTC) #5
erikwright (departed)
I believe that the delete might cause a full table scan, which will undo all ...
5 years, 8 months ago (2015-04-13 13:47:12 UTC) #6
erikchen
https://codereview.chromium.org/1052373003/diff/40001/content/browser/net/sqlite_persistent_cookie_store.cc File content/browser/net/sqlite_persistent_cookie_store.cc (left): https://codereview.chromium.org/1052373003/diff/40001/content/browser/net/sqlite_persistent_cookie_store.cc#oldcode434 content/browser/net/sqlite_persistent_cookie_store.cc:434: // This function should be called only once per ...
5 years, 8 months ago (2015-04-27 22:00:13 UTC) #7
erikchen
On 2015/04/13 13:47:12, erikwright wrote: > I believe that the delete might cause a full ...
5 years, 8 months ago (2015-04-27 22:00:22 UTC) #8
erikwright (departed)
Please wait until you have at least a full day of data from your other ...
5 years, 7 months ago (2015-04-28 17:25:57 UTC) #9
erikchen
On 2015/04/28 17:25:57, erikwright wrote: > Please wait until you have at least a full ...
5 years, 7 months ago (2015-04-29 18:22:50 UTC) #10
erikwright (departed)
I would think that the following metrics would be interesting: Cookie.TimeLoad - the sum of ...
5 years, 7 months ago (2015-04-29 18:45:20 UTC) #11
erikchen
On 2015/04/29 18:45:20, erikwright wrote: > I would think that the following metrics would be ...
5 years, 7 months ago (2015-04-29 18:59:15 UTC) #12
erikwright (departed)
On 2015/04/29 18:59:15, erikchen wrote: > On 2015/04/29 18:45:20, erikwright wrote: > > I would ...
5 years, 7 months ago (2015-04-29 19:11:11 UTC) #13
erikchen
On 2015/04/29 19:11:11, erikwright wrote: > On 2015/04/29 18:59:15, erikchen wrote: > > On 2015/04/29 ...
5 years, 7 months ago (2015-05-06 00:39:04 UTC) #14
erikchen
erikwright: PTAL. I removed the DCHECK from Load(). Prior to this CL, the semantics of ...
5 years, 7 months ago (2015-05-06 18:29:50 UTC) #15
erikwright (departed)
LGTM. If the experiment pans out, is there any reason anyone would ever all LoadAllCookies?
5 years, 7 months ago (2015-05-06 18:36:31 UTC) #16
erikchen
On 2015/05/06 18:36:31, erikwright wrote: > LGTM. > > If the experiment pans out, is ...
5 years, 7 months ago (2015-05-06 19:28:51 UTC) #17
erikchen
On 2015/05/06 19:28:51, erikchen wrote: > On 2015/05/06 18:36:31, erikwright wrote: > > LGTM. > ...
5 years, 7 months ago (2015-05-06 19:30:28 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1052373003/80001
5 years, 7 months ago (2015-05-06 19:35:01 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 7 months ago (2015-05-06 20:45:15 UTC) #21
commit-bot: I haz the power
5 years, 7 months ago (2015-05-06 20:46:14 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/1dd72a70454392b22a700a46ba99cc64f2875227
Cr-Commit-Position: refs/heads/master@{#328603}

Powered by Google App Engine
This is Rietveld 408576698