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

Issue 10662046: Add a histogram to measure browser window display (Closed)

Created:
8 years, 6 months ago by jeremy
Modified:
8 years, 4 months ago
Reviewers:
tonyg, sky
CC:
chromium-reviews
Visibility:
Public.

Description

Add a histogram to measure browser window display Measure the amount of time from app startup to when the first browser window becomes visible. TEST=None BUG=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148917

Patch Set 1 #

Patch Set 2 : Fix style nit #

Total comments: 1

Patch Set 3 : Don't collect stats when ui displayed before browser window #

Patch Set 4 : Fix indent #

Total comments: 6

Patch Set 5 : Fix sky's review comments #

Patch Set 6 : Spelling #

Total comments: 1

Patch Set 7 : Improve code comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -0 lines) Patch
M chrome/browser/ui/browser.cc View 1 2 3 4 5 6 3 chunks +22 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/simple_message_box_mac.mm View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/simple_message_box_win.cc View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/common/startup_metric_utils.h View 1 2 3 4 1 chunk +28 lines, -0 lines 0 comments Download
A chrome/common/startup_metric_utils.cc View 1 2 3 4 5 6 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
jeremy
Tonyg: Review please Sky: Owner review, thanks!
8 years, 6 months ago (2012-06-26 12:26:27 UTC) #1
sky
https://chromiumcodereview.appspot.com/10662046/diff/2001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): https://chromiumcodereview.appspot.com/10662046/diff/2001/chrome/browser/ui/browser.cc#newcode1984 chrome/browser/ui/browser.cc:1984: #if defined(OS_MACOSX) || defined(OS_WIN) Aren't there a number of ...
8 years, 6 months ago (2012-06-26 16:14:15 UTC) #2
playmobil
You're probably right, but can you give an example? First run, for example doesn't do ...
8 years, 6 months ago (2012-06-26 16:54:31 UTC) #3
sky
I want to say that if there are problems reading your profile might cause this. ...
8 years, 6 months ago (2012-06-26 17:24:38 UTC) #4
jeremy
sky: Ready for another look - changed so that we don't collect metrics if UI ...
8 years, 5 months ago (2012-07-25 08:41:06 UTC) #5
sky
http://codereview.chromium.org/10662046/diff/9001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): http://codereview.chromium.org/10662046/diff/9001/chrome/browser/ui/browser.cc#newcode1212 chrome/browser/ui/browser.cc:1212: static bool isFirstBrowserWindow = true; is_first_browser_window http://codereview.chromium.org/10662046/diff/9001/chrome/common/startup_metric_utils.cc File chrome/common/startup_metric_utils.cc ...
8 years, 5 months ago (2012-07-25 15:51:48 UTC) #6
jeremy
Sky: Thanks for the review, all fixed and ready for another look... http://codereview.chromium.org/10662046/diff/9001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc ...
8 years, 5 months ago (2012-07-26 12:57:25 UTC) #7
sky
LGTM http://codereview.chromium.org/10662046/diff/13002/chrome/common/startup_metric_utils.cc File chrome/common/startup_metric_utils.cc (right): http://codereview.chromium.org/10662046/diff/13002/chrome/common/startup_metric_utils.cc#newcode9 chrome/common/startup_metric_utils.cc:9: // Value may potentially be modified and read ...
8 years, 4 months ago (2012-07-28 02:13:35 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jeremy@chromium.org/10662046/15007
8 years, 4 months ago (2012-07-29 12:03:38 UTC) #9
commit-bot: I haz the power
8 years, 4 months ago (2012-07-29 18:10:10 UTC) #10
Change committed as 148917

Powered by Google App Engine
This is Rietveld 408576698