|
|
Created:
4 years, 5 months ago by Bryan McQuade Modified:
4 years, 5 months ago CC:
chromium-reviews Base URL:
https://chromium.googlesource.com/chromium/src.git@newcompletecallbacks Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionRemove non-immediate core page load metrics
This change removes the PageLoad.Timing2.* metrics, as they have
been replaced with
PageLoad.(Paint|Document|Parse)Timing.* equivalents.
Additionally, histograms that use dom loading are removed, as it
has been pointed out that dom loading is not well spec'd and has
been marked as deprecated
(https://github.com/w3c/navigation-timing/issues/13).
This change does not obsolete these histograms in histograms.xml,
as some experiments continue to depend on them and removing
them from histograms.xml makes them inaccessible in the Finch
dashboard. We'll remove these histograms from histograms.xml in
a follow up change in a few releases, when everyone has migrated
to the new metrics.
A few PageLoad.Timing2.* metrics are not removed in this change.
Those metrics will eventually need to be migrated to new names,
but for the time being they do not have new equivalents, so we
have not migrated them yet.
BUG=611740
Committed: https://crrev.com/ea728cb128c672e9cb9c99c16c00206575584d0a
Cr-Commit-Position: refs/heads/master@{#406530}
Patch Set 1 #Patch Set 2 : fix test #Patch Set 3 : fixes #
Total comments: 5
Patch Set 4 : address comments #Patch Set 5 : rebase #Patch Set 6 : address comments #Patch Set 7 : remove histogram checks that can be flaky due to immediate logging #Patch Set 8 : address comments #Patch Set 9 : address comments #
Messages
Total messages: 57 (47 generated)
The CQ bit was checked by bmcquade@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== remove non-immediate metrics BUG= ========== to ========== Remove non-immediate core page load metrics This change removes the PageLoad.Timing2.* metrics with PageLoad.(Paint|Document|Parse)Timing.* equivalents. Additionally, histograms that use dom loading are removed, as it has been pointed out that dom loading is not well spec'd and has been marked as deprecated (https://github.com/w3c/navigation-timing/issues/13). BUG=611740 ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by bmcquade@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Remove non-immediate core page load metrics This change removes the PageLoad.Timing2.* metrics with PageLoad.(Paint|Document|Parse)Timing.* equivalents. Additionally, histograms that use dom loading are removed, as it has been pointed out that dom loading is not well spec'd and has been marked as deprecated (https://github.com/w3c/navigation-timing/issues/13). BUG=611740 ========== to ========== Remove non-immediate core page load metrics This change removes the PageLoad.Timing2.* metrics with PageLoad.(Paint|Document|Parse)Timing.* equivalents. Additionally, histograms that use dom loading are removed, as it has been pointed out that dom loading is not well spec'd and has been marked as deprecated (https://github.com/w3c/navigation-timing/issues/13). This change does not remove these histograms from histograms.xml, as some experiments continue to depend on them and removing them from histograms.xml makes them inaccessible in the Finch dashboard. We'll remove these histograms from histograms.xml in a follow up change in a few releases, when everyone has migrated to the new metrics. BUG=611740 ==========
Description was changed from ========== Remove non-immediate core page load metrics This change removes the PageLoad.Timing2.* metrics with PageLoad.(Paint|Document|Parse)Timing.* equivalents. Additionally, histograms that use dom loading are removed, as it has been pointed out that dom loading is not well spec'd and has been marked as deprecated (https://github.com/w3c/navigation-timing/issues/13). This change does not remove these histograms from histograms.xml, as some experiments continue to depend on them and removing them from histograms.xml makes them inaccessible in the Finch dashboard. We'll remove these histograms from histograms.xml in a follow up change in a few releases, when everyone has migrated to the new metrics. BUG=611740 ========== to ========== Remove non-immediate core page load metrics This change removes the PageLoad.Timing2.* metrics, as they have been replaced with PageLoad.(Paint|Document|Parse)Timing.* equivalents. Additionally, histograms that use dom loading are removed, as it has been pointed out that dom loading is not well spec'd and has been marked as deprecated (https://github.com/w3c/navigation-timing/issues/13). This change does not remove these histograms from histograms.xml, as some experiments continue to depend on them and removing them from histograms.xml makes them inaccessible in the Finch dashboard. We'll remove these histograms from histograms.xml in a follow up change in a few releases, when everyone has migrated to the new metrics. BUG=611740 ==========
Description was changed from ========== Remove non-immediate core page load metrics This change removes the PageLoad.Timing2.* metrics, as they have been replaced with PageLoad.(Paint|Document|Parse)Timing.* equivalents. Additionally, histograms that use dom loading are removed, as it has been pointed out that dom loading is not well spec'd and has been marked as deprecated (https://github.com/w3c/navigation-timing/issues/13). This change does not remove these histograms from histograms.xml, as some experiments continue to depend on them and removing them from histograms.xml makes them inaccessible in the Finch dashboard. We'll remove these histograms from histograms.xml in a follow up change in a few releases, when everyone has migrated to the new metrics. BUG=611740 ========== to ========== Remove non-immediate core page load metrics This change removes the PageLoad.Timing2.* metrics, as they have been replaced with PageLoad.(Paint|Document|Parse)Timing.* equivalents. Additionally, histograms that use dom loading are removed, as it has been pointed out that dom loading is not well spec'd and has been marked as deprecated (https://github.com/w3c/navigation-timing/issues/13). This change does not remove these histograms from histograms.xml, as some experiments continue to depend on them and removing them from histograms.xml makes them inaccessible in the Finch dashboard. We'll remove these histograms from histograms.xml in a follow up change in a few releases, when everyone has migrated to the new metrics. A few PageLoad.Timing2.* metrics are not removed in this change. Those metrics will eventually need to be migrated to new names, but for the time being they do not have new equivalents, so we have not migrated them yet. BUG=611740 ==========
bmcquade@chromium.org changed reviewers: + shivanisha@chromium.org
PTAL
Description was changed from ========== Remove non-immediate core page load metrics This change removes the PageLoad.Timing2.* metrics, as they have been replaced with PageLoad.(Paint|Document|Parse)Timing.* equivalents. Additionally, histograms that use dom loading are removed, as it has been pointed out that dom loading is not well spec'd and has been marked as deprecated (https://github.com/w3c/navigation-timing/issues/13). This change does not remove these histograms from histograms.xml, as some experiments continue to depend on them and removing them from histograms.xml makes them inaccessible in the Finch dashboard. We'll remove these histograms from histograms.xml in a follow up change in a few releases, when everyone has migrated to the new metrics. A few PageLoad.Timing2.* metrics are not removed in this change. Those metrics will eventually need to be migrated to new names, but for the time being they do not have new equivalents, so we have not migrated them yet. BUG=611740 ========== to ========== Remove non-immediate core page load metrics This change removes the PageLoad.Timing2.* metrics, as they have been replaced with PageLoad.(Paint|Document|Parse)Timing.* equivalents. Additionally, histograms that use dom loading are removed, as it has been pointed out that dom loading is not well spec'd and has been marked as deprecated (https://github.com/w3c/navigation-timing/issues/13). This change does not obsolete these histograms in histograms.xml, as some experiments continue to depend on them and removing them from histograms.xml makes them inaccessible in the Finch dashboard. We'll remove these histograms from histograms.xml in a follow up change in a few releases, when everyone has migrated to the new metrics. A few PageLoad.Timing2.* metrics are not removed in this change. Those metrics will eventually need to be migrated to new names, but for the time being they do not have new equivalents, so we have not migrated them yet. BUG=611740 ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by bmcquade@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
Thanks for this change! https://codereview.chromium.org/2156093002/diff/40001/chrome/browser/page_loa... File chrome/browser/page_load_metrics/observers/core_page_load_metrics_observer.cc (right): https://codereview.chromium.org/2156093002/diff/40001/chrome/browser/page_loa... chrome/browser/page_load_metrics/observers/core_page_load_metrics_observer.cc:239: timing.first_paint > info.first_foreground_time.value() && Should be timing.first_paint.value() https://codereview.chromium.org/2156093002/diff/40001/chrome/browser/page_loa... chrome/browser/page_load_metrics/observers/core_page_load_metrics_observer.cc:241: timing.first_paint < info.first_background_time.value())) { Same : should be timing.first_paint.value() Also can we include equality here to be consistent with the condition in WasStartedInForegroundOptionalEventInForeground(), so timing.first_paint <= info.first_background_time.value() ?
The CQ bit was checked by bmcquade@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Thanks! PTAL. Note that I'm also removing the low res/high res clock histograms in https://codereview.chromium.org/2155143003 and I've updated this change to match. I'll wait for that change to land and merge it before landing this change. https://codereview.chromium.org/2156093002/diff/40001/chrome/browser/page_loa... File chrome/browser/page_load_metrics/observers/core_page_load_metrics_observer.cc (right): https://codereview.chromium.org/2156093002/diff/40001/chrome/browser/page_loa... chrome/browser/page_load_metrics/observers/core_page_load_metrics_observer.cc:239: timing.first_paint > info.first_foreground_time.value() && On 2016/07/18 at 14:50:34, shivanisha wrote: > Should be timing.first_paint.value() Fixed. https://codereview.chromium.org/2156093002/diff/40001/chrome/browser/page_loa... chrome/browser/page_load_metrics/observers/core_page_load_metrics_observer.cc:241: timing.first_paint < info.first_background_time.value())) { On 2016/07/18 at 14:50:34, shivanisha wrote: > Same : should be timing.first_paint.value() > > Also can we include equality here to be consistent with the condition in WasStartedInForegroundOptionalEventInForeground(), so > timing.first_paint <= info.first_background_time.value() ? Sure, I switched the ordering around and used <= to be consistent. Optional<> operators like < are overridden, so code compiles ok without the .value(), but I agree it's better to be explicit so I've fixed these to include .value(). Thanks!
lgtm https://codereview.chromium.org/2156093002/diff/40001/chrome/browser/page_loa... File chrome/browser/page_load_metrics/observers/core_page_load_metrics_observer.cc (right): https://codereview.chromium.org/2156093002/diff/40001/chrome/browser/page_loa... chrome/browser/page_load_metrics/observers/core_page_load_metrics_observer.cc:241: timing.first_paint < info.first_background_time.value())) { On 2016/07/18 at 15:10:40, Bryan McQuade wrote: > On 2016/07/18 at 14:50:34, shivanisha wrote: > > Same : should be timing.first_paint.value() > > > > Also can we include equality here to be consistent with the condition in WasStartedInForegroundOptionalEventInForeground(), so > > timing.first_paint <= info.first_background_time.value() ? > > Sure, I switched the ordering around and used <= to be consistent. Optional<> operators like < are overridden, so code compiles ok without the .value(), but I agree it's better to be explicit so I've fixed these to include .value(). Thanks! Good to know about the overriding in Optional.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by bmcquade@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds...) ios-device-gn on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-gn/bui...) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...) ios-simulator-gn on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-gn/...)
The CQ bit was checked by bmcquade@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
bmcquade@chromium.org changed reviewers: + isherman@chromium.org
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
isherman, PTAL for histograms.xml, thanks!
The CQ bit was checked by bmcquade@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by bmcquade@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
histograms.xml lgtm. Thanks for the cleanup!
The CQ bit was checked by isherman@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from shivanisha@chromium.org Link to the patchset: https://codereview.chromium.org/2156093002/#ps140001 (title: "address comments")
The CQ bit was unchecked by commit-bot@chromium.org
This CL has an open dependency (Issue 2152683004 Patch 310001). Please resolve the dependency and try again. If you are sure that there is no real dependency, please use one of the options listed in https://goo.gl/9Es4OR to land the CL.
The CQ bit was checked by bmcquade@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by bmcquade@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from shivanisha@chromium.org, isherman@chromium.org Link to the patchset: https://codereview.chromium.org/2156093002/#ps160001 (title: "address comments")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Committed patchset #9 (id:160001)
Message was sent while issue was closed.
Description was changed from ========== Remove non-immediate core page load metrics This change removes the PageLoad.Timing2.* metrics, as they have been replaced with PageLoad.(Paint|Document|Parse)Timing.* equivalents. Additionally, histograms that use dom loading are removed, as it has been pointed out that dom loading is not well spec'd and has been marked as deprecated (https://github.com/w3c/navigation-timing/issues/13). This change does not obsolete these histograms in histograms.xml, as some experiments continue to depend on them and removing them from histograms.xml makes them inaccessible in the Finch dashboard. We'll remove these histograms from histograms.xml in a follow up change in a few releases, when everyone has migrated to the new metrics. A few PageLoad.Timing2.* metrics are not removed in this change. Those metrics will eventually need to be migrated to new names, but for the time being they do not have new equivalents, so we have not migrated them yet. BUG=611740 ========== to ========== Remove non-immediate core page load metrics This change removes the PageLoad.Timing2.* metrics, as they have been replaced with PageLoad.(Paint|Document|Parse)Timing.* equivalents. Additionally, histograms that use dom loading are removed, as it has been pointed out that dom loading is not well spec'd and has been marked as deprecated (https://github.com/w3c/navigation-timing/issues/13). This change does not obsolete these histograms in histograms.xml, as some experiments continue to depend on them and removing them from histograms.xml makes them inaccessible in the Finch dashboard. We'll remove these histograms from histograms.xml in a follow up change in a few releases, when everyone has migrated to the new metrics. A few PageLoad.Timing2.* metrics are not removed in this change. Those metrics will eventually need to be migrated to new names, but for the time being they do not have new equivalents, so we have not migrated them yet. BUG=611740 Committed: https://crrev.com/ea728cb128c672e9cb9c99c16c00206575584d0a Cr-Commit-Position: refs/heads/master@{#406530} ==========
Message was sent while issue was closed.
Patchset 9 (id:??) landed as https://crrev.com/ea728cb128c672e9cb9c99c16c00206575584d0a Cr-Commit-Position: refs/heads/master@{#406530} |