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

Issue 1041213003: Fix startup_metric racing condition: It used to wait t.WaitForDocumentReadyStateToBeComplete() befo… (Closed)

Created:
5 years, 8 months ago by cylee1
Modified:
5 years, 8 months ago
Reviewers:
nednguyen
CC:
chromium-reviews, telemetry-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

1. Use window.performance.timing instead of statsCollectionController to get page loading time. 2. Fix waiting condition to avoid racing condition BUG=467964 Committed: https://crrev.com/91e201627c7dee41d085b1829b7a60daf9b9e601 Cr-Commit-Position: refs/heads/master@{#323213}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -19 lines) Patch
M tools/perf/metrics/startup_metric.py View 1 3 chunks +7 lines, -19 lines 4 comments Download

Messages

Total messages: 12 (2 generated)
cylee1
5 years, 8 months ago (2015-03-30 18:19:28 UTC) #2
nednguyen
Can you wrap the description? Also this patch seems to do too many changes that's ...
5 years, 8 months ago (2015-03-30 21:25:41 UTC) #3
cylee1
There're two ways to get loading page loading time, which I don't see much difference ...
5 years, 8 months ago (2015-03-31 10:47:38 UTC) #4
cylee1
https://codereview.chromium.org/1041213003/diff/20001/tools/perf/metrics/startup_metric.py File tools/perf/metrics/startup_metric.py (left): https://codereview.chromium.org/1041213003/diff/20001/tools/perf/metrics/startup_metric.py#oldcode59 tools/perf/metrics/startup_metric.py:59: On 2015/03/30 21:25:41, nednguyen wrote: > What are these ...
5 years, 8 months ago (2015-03-31 10:52:27 UTC) #5
nednguyen
lgtm. Please make sure that the "foreground_tab_load_complete" metric doesn't change with this patch.
5 years, 8 months ago (2015-04-01 01:02:13 UTC) #6
cylee1
On 2015/04/01 01:02:13, nednguyen wrote: > lgtm. > Please make sure that the "foreground_tab_load_complete" metric ...
5 years, 8 months ago (2015-04-01 08:58:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1041213003/20001
5 years, 8 months ago (2015-04-01 08:59:15 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 8 months ago (2015-04-01 11:34:58 UTC) #10
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/91e201627c7dee41d085b1829b7a60daf9b9e601 Cr-Commit-Position: refs/heads/master@{#323213}
5 years, 8 months ago (2015-04-01 11:36:02 UTC) #11
dsinclair
5 years, 8 months ago (2015-04-01 14:04:44 UTC) #12
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/1051813002/ by dsinclair@chromium.org.

The reason for reverting is: Causing test failures on several bots. See
crbug.com/472603.

Powered by Google App Engine
This is Rietveld 408576698