|
|
Chromium Code Reviews|
Created:
4 years, 7 months ago by kouhei (in TOK) Modified:
4 years, 7 months ago CC:
catapult-reviews_chromium.org, tracing-review_chromium.org Base URL:
https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git@master Target Ref:
refs/heads/master Project:
catapult Visibility:
Public. |
DescriptionSuppress frame URL query failures
Before this CL, firstPaintMetric raised exception and stopped processing
when it failed to find URL for a particular frame.
This CL makes the firstPaintMetric to silently ignore the frame, and
continue processing for other frames.
BUG=chromium:613050
Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/2afd12a46d185e3988b45aee2a258030b0e3611a
Patch Set 1 #Patch Set 2 : add warning #Messages
Total messages: 18 (7 generated)
kouhei@chromium.org changed reviewers: + eakuefner@chromium.org, nednguyen@google.com
nednguyen@chromium.org changed reviewers: + nednguyen@chromium.org
Add logging.error?
Though can yoy explain why it's ok to ignore this failure?
On 2016/05/19 12:57:48, nednguyen(REVIEW IN OTHER ACC) wrote: > Add logging.error? I couldn't find logging.error. I'm not sure if model.importWarning is appropriate here. > Though can yoy explain why it's ok to ignore this failure? Incomplete traces or traces from old Chrome before FrameLoader object dumps will fail to compute this metric. This CL will make those navs not emit values, instead of giving up the whole trace.
On 2016/05/19 23:16:03, kouhei wrote: > On 2016/05/19 12:57:48, nednguyen(REVIEW IN OTHER ACC) wrote: > > Add logging.error? > I couldn't find logging.error. I'm not sure if model.importWarning is > appropriate here. > > > Though can yoy explain why it's ok to ignore this failure? > Incomplete traces or traces from old Chrome before FrameLoader object dumps will > fail to compute this metric. > This CL will make those navs not emit values, instead of giving up the whole > trace. I see. What I meant was console.warn(...). You can make the warning message says that "Fails to find frame loader in the trace, the trace maybe incomplete or from an old Chrome."
On 2016/05/19 23:20:47, nednguyen wrote: > On 2016/05/19 23:16:03, kouhei wrote: > > On 2016/05/19 12:57:48, nednguyen(REVIEW IN OTHER ACC) wrote: > > > Add logging.error? > > I couldn't find logging.error. I'm not sure if model.importWarning is > > appropriate here. > > > > > Though can yoy explain why it's ok to ignore this failure? > > Incomplete traces or traces from old Chrome before FrameLoader object dumps > will > > fail to compute this metric. > > This CL will make those navs not emit values, instead of giving up the whole > > trace. > > I see. What I meant was console.warn(...). You can make the warning message says > that "Fails to find frame loader in the trace, the trace maybe incomplete or > from an old Chrome." Done.
lgtm
The CQ bit was checked by nednguyen@google.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1988313003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1988313003/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: Catapult Presubmit on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Pr...)
Description was changed from ========== Suppress frame URL query failures Before this CL, firstPaintMetric raised exception and stopped processing when it failed to find URL for a particular frame. This CL makes the firstPaintMetric to silently ignore the frame, and continue processing for other frames. BUG=613050 ========== to ========== Suppress frame URL query failures Before this CL, firstPaintMetric raised exception and stopped processing when it failed to find URL for a particular frame. This CL makes the firstPaintMetric to silently ignore the frame, and continue processing for other frames. BUG=chromium:613050 ==========
The CQ bit was checked by nednguyen@google.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1988313003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1988313003/20001
Message was sent while issue was closed.
Description was changed from ========== Suppress frame URL query failures Before this CL, firstPaintMetric raised exception and stopped processing when it failed to find URL for a particular frame. This CL makes the firstPaintMetric to silently ignore the frame, and continue processing for other frames. BUG=chromium:613050 ========== to ========== Suppress frame URL query failures Before this CL, firstPaintMetric raised exception and stopped processing when it failed to find URL for a particular frame. This CL makes the firstPaintMetric to silently ignore the frame, and continue processing for other frames. BUG=chromium:613050 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapu... ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/external/github.com/catapult-project/catapu... |
