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

Issue 2559001: Measure loading time of several tabs. (Closed)

Created:
10 years, 6 months ago by Patrick Horn
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ben+cc_chromium.org, Paweł Hajdan Jr., huanr, sky
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

Measure loading time of several tabs. This is a new set of JSON automation calls which return the individual load times for each tab opened at startup. BUG=44129 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=49862 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=49981

Patch Set 1 #

Total comments: 12

Patch Set 2 : Fixed style issues; made focused tab test include time for GetTab(); added some missing asserts. #

Total comments: 4

Patch Set 3 : The browser process now measures tab load start/stop times in InitialLoadObserver. #

Total comments: 30

Patch Set 4 : Fixed style issues from patch set 3 #

Total comments: 2

Patch Set 5 : Remove the uitest; that will be part of a separate CL #

Total comments: 4

Patch Set 6 : Added comments for output format. #

Patch Set 7 : Try bot #

Patch Set 8 : Revert michaeln's revert due to mac linker error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -5 lines) Patch
M chrome/browser/automation/automation_provider.h View 3 4 5 6 3 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/automation/automation_provider.cc View 3 4 5 6 2 chunks +18 lines, -0 lines 0 comments Download
M chrome/browser/automation/automation_provider_observers.h View 3 4 5 2 chunks +13 lines, -1 line 0 comments Download
M chrome/browser/automation/automation_provider_observers.cc View 3 4 5 6 3 chunks +51 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Patrick Horn
Hi Huan, This is a rough draft of the test I'm working on. I'm curious ...
10 years, 6 months ago (2010-06-03 03:15:45 UTC) #1
Peter Kasting
Adding sky
10 years, 6 months ago (2010-06-03 03:37:14 UTC) #2
Paweł Hajdan Jr.
Drive-by with some test comments. http://codereview.chromium.org/2559001/diff/1/2 File chrome/browser/sessions/session_restore_uitest.cc (right): http://codereview.chromium.org/2559001/diff/1/2#newcode86 chrome/browser/sessions/session_restore_uitest.cc:86: int num_wait_tabs=0); nit: The ...
10 years, 6 months ago (2010-06-03 08:21:14 UTC) #3
sky
http://codereview.chromium.org/2559001/diff/1/2 File chrome/browser/sessions/session_restore_uitest.cc (right): http://codereview.chromium.org/2559001/diff/1/2#newcode84 chrome/browser/sessions/session_restore_uitest.cc:84: void RunTabPerformanceTest(std::string testname, const std::string& http://codereview.chromium.org/2559001/diff/1/2#newcode137 chrome/browser/sessions/session_restore_uitest.cc:137: void SessionRestoreUITest::RunTabPerformanceTest( ...
10 years, 6 months ago (2010-06-03 16:10:55 UTC) #4
huanr
1. Make changes to comply the chrome code style: http://dev.chromium.org/developers/coding-style 2. I agree with Scott's ...
10 years, 6 months ago (2010-06-03 21:47:02 UTC) #5
Patrick Horn
Hi all, Comments inline. On Thu, Jun 3, 2010 at 9:10 AM, <sky@chromium.org> wrote: > ...
10 years, 6 months ago (2010-06-03 22:01:35 UTC) #6
sky
On Thu, Jun 3, 2010 at 2:47 PM, <huanr@chromium.org> wrote: > 1. Make changes to ...
10 years, 6 months ago (2010-06-03 22:02:39 UTC) #7
sky
On Thu, Jun 3, 2010 at 3:01 PM, Patrick Horn <pathorn@chromium.org> wrote: > Hi all, ...
10 years, 6 months ago (2010-06-03 22:06:42 UTC) #8
Patrick Horn
I forgot to click publish for my second patch. It mostly changes just the style ...
10 years, 6 months ago (2010-06-03 23:04:38 UTC) #9
sky
2010/06/03 23:04:38, Patrick Horn wrote: > I forgot to click publish for my second patch. ...
10 years, 6 months ago (2010-06-03 23:36:29 UTC) #10
Paweł Hajdan Jr.
http://codereview.chromium.org/2559001/diff/6001/7001 File chrome/browser/sessions/session_restore_uitest.cc (right): http://codereview.chromium.org/2559001/diff/6001/7001#newcode84 chrome/browser/sessions/session_restore_uitest.cc:84: void RunTabPerformanceTest(const std::string& testname, Please add the comment. Especially ...
10 years, 6 months ago (2010-06-04 07:35:14 UTC) #11
Patrick Horn
This is a completely new patch set which measures times in InitialLoadObserver. I also added ...
10 years, 6 months ago (2010-06-07 23:01:55 UTC) #12
Paweł Hajdan Jr.
http://codereview.chromium.org/2559001/diff/16001/17001 File chrome/browser/automation/automation_provider.cc (right): http://codereview.chromium.org/2559001/diff/16001/17001#newcode2097 chrome/browser/automation/automation_provider.cc:2097: bool reply_return = true; It seems that reply_return is ...
10 years, 6 months ago (2010-06-08 06:42:25 UTC) #13
sky
http://codereview.chromium.org/2559001/diff/16001/17001 File chrome/browser/automation/automation_provider.cc (right): http://codereview.chromium.org/2559001/diff/16001/17001#newcode2094 chrome/browser/automation/automation_provider.cc:2094: DictionaryValue* args, It doesn't seem like args is used. ...
10 years, 6 months ago (2010-06-08 16:12:39 UTC) #14
rvargas (doing something else)
http://codereview.chromium.org/2559001/diff/27001/28005 File chrome/browser/sessions/session_restore_uitest.cc (right): http://codereview.chromium.org/2559001/diff/27001/28005#newcode128 chrome/browser/sessions/session_restore_uitest.cc:128: const unsigned int kSessionRestoreAffinity = 0x000f; Drive by: Isn't ...
10 years, 6 months ago (2010-06-09 23:05:13 UTC) #15
Patrick Horn
I've removed the test for now, since I intend to merge it with the new ...
10 years, 6 months ago (2010-06-09 23:44:45 UTC) #16
sky
http://codereview.chromium.org/2559001/diff/34001/28006 File chrome/browser/automation/automation_provider.cc (right): http://codereview.chromium.org/2559001/diff/34001/28006#newcode2097 chrome/browser/automation/automation_provider.cc:2097: initial_load_observer_->GetTimingInformation()); indent by 4. http://codereview.chromium.org/2559001/diff/34001/28009 File chrome/browser/automation/automation_provider_observers.h (right): http://codereview.chromium.org/2559001/diff/34001/28009#newcode39 ...
10 years, 6 months ago (2010-06-10 15:38:40 UTC) #17
Patrick Horn
http://codereview.chromium.org/2559001/diff/34001/28006 File chrome/browser/automation/automation_provider.cc (right): http://codereview.chromium.org/2559001/diff/34001/28006#newcode2097 chrome/browser/automation/automation_provider.cc:2097: initial_load_observer_->GetTimingInformation()); On 2010/06/10 15:38:41, sky wrote: > indent by ...
10 years, 6 months ago (2010-06-10 20:06:07 UTC) #18
sky
LGTM
10 years, 6 months ago (2010-06-10 22:24:14 UTC) #19
huanr
LGTM
10 years, 6 months ago (2010-06-11 01:12:35 UTC) #20
Patrick Horn
10 years, 6 months ago (2010-06-16 01:19:31 UTC) #21
My commit (49862) got reverted today (49870) due to a mac buildbot link error.

(Paraphrased from IRC discussion) The error was a mmap error on mac. Looks to
have happened the previous day at 5pm as well, so it may have been a cron job.
Also possible is that new functions pushed the mac over the memory limit.

Here's the failed build:
http://build.chromium.org/buildbot/waterfall/builders/Chromium%20Mac%20Builde...

I'm hoping to recommit it tomorrow.

Powered by Google App Engine
This is Rietveld 408576698