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

Issue 8537016: Add/change metrics for cookie store loading: (Closed)

Created:
9 years, 1 month ago by erikwright (departed)
Modified:
9 years, 1 month ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, erikwright (departed), Paweł Hajdan Jr., wtc, Randy Smith (Not in Mondays), darin-cc_chromium.org, rkn
Visibility:
Public.

Description

Add/change metrics for cookie store loading: Cookie.TimeLoad (previously the total time the IO thread was busy loading cookies) is now the sum of all DB-thread tasks for loading cookies. Cookie.TimeBlockedOnLoad is the time between the IO thread requesting cookies to load and them finally being loaded. Cookie.PriorityBlockingTime is the amount of time that there were one or more web requests waiting on cookies to load. Cookie.PriorityLoadCount is the number of priority loads that occurred (i.e., different domains that were requested before the cookie store was fully loaded). BUG=68657 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109981

Patch Set 1 #

Patch Set 2 : Move threading assumptions from cookie monster to persistent store. #

Patch Set 3 : Use a separate lock for metrics. #

Total comments: 11

Patch Set 4 : Remove race condition handling. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -19 lines) Patch
M chrome/browser/net/sqlite_persistent_cookie_store.cc View 1 2 3 13 chunks +135 lines, -15 lines 0 comments Download
M net/base/cookie_monster.h View 2 chunks +2 lines, -2 lines 0 comments Download
M net/base/cookie_monster.cc View 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
erikwright (departed)
Hi Randy, PTAL. Thanks, Erik
9 years, 1 month ago (2011-11-11 20:19:17 UTC) #1
Randy Smith (Not in Mondays)
There's a basic problem with these metrics which I'm not sure how to fix, which ...
9 years, 1 month ago (2011-11-13 03:38:23 UTC) #2
erikwright (departed)
Hi Randy, I agree that there is a bit of a bias as you describe. ...
9 years, 1 month ago (2011-11-13 22:23:31 UTC) #3
erikwright (departed)
Hi Randy, Please see my responses. Thanks, Erik
9 years, 1 month ago (2011-11-14 15:56:26 UTC) #4
Randy Smith (Not in Mondays)
LGTM. If you decide to do the assertion below, I'd suggest running it back by ...
9 years, 1 month ago (2011-11-14 19:55:33 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erikwright@chromium.org/8537016/7001
9 years, 1 month ago (2011-11-14 22:02:53 UTC) #6
commit-bot: I haz the power
9 years, 1 month ago (2011-11-14 23:54:28 UTC) #7
Change committed as 109981

Powered by Google App Engine
This is Rietveld 408576698