Add UMA for number of layer promotions [chromium/src : master]

0 views
Skip to first unread message

Xida Chen (Gerrit)

unread,
Aug 18, 2017, 9:14:33 AM8/18/17
to asvitki...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Stephen Chenney, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis

Stephen: PTAL before sending to histogram owners.

View Change

    To view, visit change 619172. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-MessageType: comment
    Gerrit-Change-Id: Ifd099c6b1f88aa110ae9068ce6238d8a91f9a342
    Gerrit-Change-Number: 619172
    Gerrit-PatchSet: 3
    Gerrit-Owner: Xida Chen <xida...@chromium.org>
    Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
    Gerrit-Reviewer: Xida Chen <xida...@chromium.org>
    Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
    Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
    Gerrit-CC: Justin Novosad <ju...@chromium.org>
    Gerrit-CC: Rob Buis <rob....@samsung.com>
    Gerrit-Comment-Date: Fri, 18 Aug 2017 13:14:24 +0000
    Gerrit-HasComments: No
    Gerrit-HasLabels: No

    Stephen Chenney (Gerrit)

    unread,
    Aug 18, 2017, 10:01:06 AM8/18/17
    to Xida Chen, asvitki...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis

    The implementation looks good. My only significant request is to pass the aggregator around by reference rather than using a pointer for something that is never NULL.

    View Change

    2 comments:

    To view, visit change 619172. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-MessageType: comment
    Gerrit-Change-Id: Ifd099c6b1f88aa110ae9068ce6238d8a91f9a342
    Gerrit-Change-Number: 619172
    Gerrit-PatchSet: 3
    Gerrit-Owner: Xida Chen <xida...@chromium.org>
    Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
    Gerrit-Reviewer: Xida Chen <xida...@chromium.org>
    Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
    Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
    Gerrit-CC: Justin Novosad <ju...@chromium.org>
    Gerrit-CC: Rob Buis <rob....@samsung.com>
    Gerrit-Comment-Date: Fri, 18 Aug 2017 14:01:03 +0000
    Gerrit-HasComments: Yes
    Gerrit-HasLabels: No

    Xida Chen (Gerrit)

    unread,
    Aug 18, 2017, 10:26:03 AM8/18/17
    to asvitki...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Stephen Chenney, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis

    View Change

    2 comments:

    To view, visit change 619172. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-MessageType: comment
    Gerrit-Change-Id: Ifd099c6b1f88aa110ae9068ce6238d8a91f9a342
    Gerrit-Change-Number: 619172
    Gerrit-PatchSet: 4
    Gerrit-Owner: Xida Chen <xida...@chromium.org>
    Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
    Gerrit-Reviewer: Xida Chen <xida...@chromium.org>
    Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
    Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
    Gerrit-CC: Justin Novosad <ju...@chromium.org>
    Gerrit-CC: Rob Buis <rob....@samsung.com>
    Gerrit-Comment-Date: Fri, 18 Aug 2017 14:25:55 +0000
    Gerrit-HasComments: Yes
    Gerrit-HasLabels: No

    Stephen Chenney (Gerrit)

    unread,
    Aug 18, 2017, 10:29:44 AM8/18/17
    to Xida Chen, asvitki...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis

    LGTM for the blink changes.

    Someone on histograms will give the official +1.

    Patch set 4:Code-Review +1

    View Change

      To view, visit change 619172. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: master
      Gerrit-MessageType: comment
      Gerrit-Change-Id: Ifd099c6b1f88aa110ae9068ce6238d8a91f9a342
      Gerrit-Change-Number: 619172
      Gerrit-PatchSet: 4
      Gerrit-Owner: Xida Chen <xida...@chromium.org>
      Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
      Gerrit-Reviewer: Xida Chen <xida...@chromium.org>
      Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
      Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
      Gerrit-CC: Justin Novosad <ju...@chromium.org>
      Gerrit-CC: Rob Buis <rob....@samsung.com>
      Gerrit-Comment-Date: Fri, 18 Aug 2017 14:29:41 +0000
      Gerrit-HasComments: No
      Gerrit-HasLabels: Yes

      Stephen Chenney (Gerrit)

      unread,
      Aug 18, 2017, 10:30:27 AM8/18/17
      to Xida Chen, asvitki...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis

      Just removing the Code Review +1 pending the histograms review.

      Patch set 4:-Code-Review

      View Change

        To view, visit change 619172. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: master
        Gerrit-MessageType: comment
        Gerrit-Change-Id: Ifd099c6b1f88aa110ae9068ce6238d8a91f9a342
        Gerrit-Change-Number: 619172
        Gerrit-PatchSet: 4
        Gerrit-Owner: Xida Chen <xida...@chromium.org>
        Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
        Gerrit-Reviewer: Xida Chen <xida...@chromium.org>
        Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
        Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
        Gerrit-CC: Justin Novosad <ju...@chromium.org>
        Gerrit-CC: Rob Buis <rob....@samsung.com>
        Gerrit-Comment-Date: Fri, 18 Aug 2017 14:30:23 +0000
        Gerrit-HasComments: No
        Gerrit-HasLabels: Yes

        Xida Chen (Gerrit)

        unread,
        Aug 18, 2017, 10:33:58 AM8/18/17
        to Jesse Doherty, asvitki...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Stephen Chenney

        Xida Chen would like Jesse Doherty to review this change.

        View Change

        Add UMA for number of layer promotions

        In this CL, we add histogram to check number of layers that gets promoted
        due to the following reasons:
        1. Overlap
        2. Transform / opacity animation
        3. Assumed overlap
        4. Indirectly composited

        We aggregate the number of layers over all frames.

        Bug: 754786
        Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
        Change-Id: Ifd099c6b1f88aa110ae9068ce6238d8a91f9a342
        ---
        M third_party/WebKit/Source/core/paint/compositing/CompositingRequirementsUpdater.cpp
        M third_party/WebKit/Source/core/paint/compositing/CompositingRequirementsUpdater.h
        M third_party/WebKit/Source/core/paint/compositing/PaintLayerCompositor.cpp
        M third_party/WebKit/Source/core/paint/compositing/PaintLayerCompositor.h
        M third_party/WebKit/Source/platform/graphics/CompositingReasons.h
        M tools/metrics/histograms/histograms.xml
        6 files changed, 70 insertions(+), 15 deletions(-)


        To view, visit change 619172. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: master
        Gerrit-MessageType: newchange
        Gerrit-Change-Id: Ifd099c6b1f88aa110ae9068ce6238d8a91f9a342
        Gerrit-Change-Number: 619172
        Gerrit-PatchSet: 4
        Gerrit-Owner: Xida Chen <xida...@chromium.org>
        Gerrit-Reviewer: Jesse Doherty <j...@chromium.org>

        Xida Chen (Gerrit)

        unread,
        Aug 18, 2017, 10:33:59 AM8/18/17
        to asvitki...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Jesse Doherty, Stephen Chenney, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis

        +jwd@ for histogram changes.

        View Change

          To view, visit change 619172. To unsubscribe, or for help writing mail filters, visit settings.

          Gerrit-Project: chromium/src
          Gerrit-Branch: master
          Gerrit-MessageType: comment
          Gerrit-Change-Id: Ifd099c6b1f88aa110ae9068ce6238d8a91f9a342
          Gerrit-Change-Number: 619172
          Gerrit-PatchSet: 4
          Gerrit-Owner: Xida Chen <xida...@chromium.org>
          Gerrit-Reviewer: Jesse Doherty <j...@chromium.org>
          Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
          Gerrit-Reviewer: Xida Chen <xida...@chromium.org>
          Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
          Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
          Gerrit-CC: Justin Novosad <ju...@chromium.org>
          Gerrit-CC: Rob Buis <rob....@samsung.com>
          Gerrit-Comment-Date: Fri, 18 Aug 2017 14:33:54 +0000
          Gerrit-HasComments: No
          Gerrit-HasLabels: No

          Jesse Doherty (Gerrit)

          unread,
          Aug 18, 2017, 4:25:35 PM8/18/17
          to Xida Chen, asvitki...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Stephen Chenney, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis

          View Change

          1 comment:

          To view, visit change 619172. To unsubscribe, or for help writing mail filters, visit settings.

          Gerrit-Project: chromium/src
          Gerrit-Branch: master
          Gerrit-MessageType: comment
          Gerrit-Change-Id: Ifd099c6b1f88aa110ae9068ce6238d8a91f9a342
          Gerrit-Change-Number: 619172
          Gerrit-PatchSet: 4
          Gerrit-Owner: Xida Chen <xida...@chromium.org>
          Gerrit-Reviewer: Jesse Doherty <j...@chromium.org>
          Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
          Gerrit-Reviewer: Xida Chen <xida...@chromium.org>
          Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
          Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
          Gerrit-CC: Justin Novosad <ju...@chromium.org>
          Gerrit-CC: Rob Buis <rob....@samsung.com>
          Gerrit-Comment-Date: Fri, 18 Aug 2017 20:25:30 +0000
          Gerrit-HasComments: Yes
          Gerrit-HasLabels: No

          Xida Chen (Gerrit)

          unread,
          Aug 18, 2017, 4:31:15 PM8/18/17
          to asvitki...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Jesse Doherty, Stephen Chenney, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis

          View Change

          1 comment:

            • Done

          To view, visit change 619172. To unsubscribe, or for help writing mail filters, visit settings.

          Gerrit-Project: chromium/src
          Gerrit-Branch: master
          Gerrit-MessageType: comment
          Gerrit-Change-Id: Ifd099c6b1f88aa110ae9068ce6238d8a91f9a342
          Gerrit-Change-Number: 619172
          Gerrit-PatchSet: 5
          Gerrit-Owner: Xida Chen <xida...@chromium.org>
          Gerrit-Reviewer: Jesse Doherty <j...@chromium.org>
          Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
          Gerrit-Reviewer: Xida Chen <xida...@chromium.org>
          Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
          Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
          Gerrit-CC: Justin Novosad <ju...@chromium.org>
          Gerrit-CC: Rob Buis <rob....@samsung.com>
          Gerrit-Comment-Date: Fri, 18 Aug 2017 20:31:12 +0000
          Gerrit-HasComments: Yes
          Gerrit-HasLabels: No

          Philip Rogers (Gerrit)

          unread,
          Aug 18, 2017, 7:20:49 PM8/18/17
          to Xida Chen, asvitki...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Jesse Doherty, Stephen Chenney, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis

          Naive question: for calculating relative changes, can we use Compositing.Renderer.NumActiveLayers for the total number of layers created by PaintLayerCompositor?

          View Change

            To view, visit change 619172. To unsubscribe, or for help writing mail filters, visit settings.

            Gerrit-Project: chromium/src
            Gerrit-Branch: master
            Gerrit-MessageType: comment
            Gerrit-Change-Id: Ifd099c6b1f88aa110ae9068ce6238d8a91f9a342
            Gerrit-Change-Number: 619172
            Gerrit-PatchSet: 5
            Gerrit-Owner: Xida Chen <xida...@chromium.org>
            Gerrit-Reviewer: Jesse Doherty <j...@chromium.org>
            Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
            Gerrit-Reviewer: Xida Chen <xida...@chromium.org>
            Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
            Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
            Gerrit-CC: Justin Novosad <ju...@chromium.org>
            Gerrit-CC: Philip Rogers <p...@chromium.org>
            Gerrit-CC: Rob Buis <rob....@samsung.com>
            Gerrit-Comment-Date: Fri, 18 Aug 2017 23:20:43 +0000
            Gerrit-HasComments: No
            Gerrit-HasLabels: No

            Xida Chen (Gerrit)

            unread,
            Aug 21, 2017, 10:13:33 AM8/21/17
            to asvitki...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Chris Harrelson, Philip Rogers, Jesse Doherty, Stephen Chenney, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis

            Patch Set 5:

            Naive question: for calculating relative changes, can we use Compositing.Renderer.NumActiveLayers for the total number of layers created by PaintLayerCompositor?

            +chrishtr@: I am assuming that we would like to see break-down numbers for various reasons, instead of a total number?

            View Change

              To view, visit change 619172. To unsubscribe, or for help writing mail filters, visit settings.

              Gerrit-Project: chromium/src
              Gerrit-Branch: master
              Gerrit-MessageType: comment
              Gerrit-Change-Id: Ifd099c6b1f88aa110ae9068ce6238d8a91f9a342
              Gerrit-Change-Number: 619172
              Gerrit-PatchSet: 5
              Gerrit-Owner: Xida Chen <xida...@chromium.org>
              Gerrit-Reviewer: Chris Harrelson <chri...@chromium.org>
              Gerrit-Reviewer: Jesse Doherty <j...@chromium.org>
              Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
              Gerrit-Reviewer: Xida Chen <xida...@chromium.org>
              Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
              Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
              Gerrit-CC: Justin Novosad <ju...@chromium.org>
              Gerrit-CC: Philip Rogers <p...@chromium.org>
              Gerrit-CC: Rob Buis <rob....@samsung.com>
              Gerrit-Comment-Date: Mon, 21 Aug 2017 14:13:23 +0000
              Gerrit-HasComments: No
              Gerrit-HasLabels: No

              Chris Harrelson (Gerrit)

              unread,
              Aug 21, 2017, 1:27:14 PM8/21/17
              to Xida Chen, asvitki...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Philip Rogers, Jesse Doherty, Stephen Chenney, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis

              Patch Set 5:

              Patch Set 5:

              Naive question: for calculating relative changes, can we use Compositing.Renderer.NumActiveLayers for the total number of layers created by PaintLayerCompositor?

              +chrishtr@: I am assuming that we would like to see break-down numbers for various reasons, instead of a total number?

              Just asked pdr offline. His concern is that this CL computes the number of PaintLayers that end up with a composited backing with overlap/etc factors, but if we don't know the total number of PaintLayers that get a composited backing, we also can't compute a percentage due to overlap/etc. This is a good point...

              Xida, could you add another UMA couning total number of promoted PaintLayers? This can be different than NumActiveLayers or NumActivePictureLayers, since a composited paint layer can have more than one of the above.

              View Change

                To view, visit change 619172. To unsubscribe, or for help writing mail filters, visit settings.

                Gerrit-Project: chromium/src
                Gerrit-Branch: master
                Gerrit-MessageType: comment
                Gerrit-Change-Id: Ifd099c6b1f88aa110ae9068ce6238d8a91f9a342
                Gerrit-Change-Number: 619172
                Gerrit-PatchSet: 5
                Gerrit-Owner: Xida Chen <xida...@chromium.org>
                Gerrit-Reviewer: Chris Harrelson <chri...@chromium.org>
                Gerrit-Reviewer: Jesse Doherty <j...@chromium.org>
                Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
                Gerrit-Reviewer: Xida Chen <xida...@chromium.org>
                Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                Gerrit-CC: Justin Novosad <ju...@chromium.org>
                Gerrit-CC: Philip Rogers <p...@chromium.org>
                Gerrit-CC: Rob Buis <rob....@samsung.com>
                Gerrit-Comment-Date: Mon, 21 Aug 2017 17:27:07 +0000
                Gerrit-HasComments: No
                Gerrit-HasLabels: No

                Xida Chen (Gerrit)

                unread,
                Aug 22, 2017, 10:06:48 AM8/22/17
                to asvitki...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Chris Harrelson, Philip Rogers, Jesse Doherty, Stephen Chenney, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis

                Patch Set 5:

                Patch Set 5:

                Patch Set 5:

                Naive question: for calculating relative changes, can we use Compositing.Renderer.NumActiveLayers for the total number of layers created by PaintLayerCompositor?

                +chrishtr@: I am assuming that we would like to see break-down numbers for various reasons, instead of a total number?

                Just asked pdr offline. His concern is that this CL computes the number of PaintLayers that end up with a composited backing with overlap/etc factors, but if we don't know the total number of PaintLayers that get a composited backing, we also can't compute a percentage due to overlap/etc. This is a good point...

                Xida, could you add another UMA couning total number of promoted PaintLayers? This can be different than NumActiveLayers or NumActivePictureLayers, since a composited paint layer can have more than one of the above.

                Done. Please review the latest patch.

                View Change

                  To view, visit change 619172. To unsubscribe, or for help writing mail filters, visit settings.

                  Gerrit-Project: chromium/src
                  Gerrit-Branch: master
                  Gerrit-MessageType: comment
                  Gerrit-Change-Id: Ifd099c6b1f88aa110ae9068ce6238d8a91f9a342
                  Gerrit-Change-Number: 619172
                  Gerrit-PatchSet: 7
                  Gerrit-Owner: Xida Chen <xida...@chromium.org>
                  Gerrit-Reviewer: Chris Harrelson <chri...@chromium.org>
                  Gerrit-Reviewer: Jesse Doherty <j...@chromium.org>
                  Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
                  Gerrit-Reviewer: Xida Chen <xida...@chromium.org>
                  Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                  Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                  Gerrit-CC: Justin Novosad <ju...@chromium.org>
                  Gerrit-CC: Philip Rogers <p...@chromium.org>
                  Gerrit-CC: Rob Buis <rob....@samsung.com>
                  Gerrit-Comment-Date: Tue, 22 Aug 2017 14:06:44 +0000
                  Gerrit-HasComments: No
                  Gerrit-HasLabels: No

                  Chris Harrelson (Gerrit)

                  unread,
                  Aug 22, 2017, 1:26:34 PM8/22/17
                  to Xida Chen, asvitki...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Philip Rogers, Jesse Doherty, Stephen Chenney, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis

                  LGTM with one comment to change the name of the struct.

                  Patch set 7:Code-Review +1

                  View Change

                  1 comment:

                  To view, visit change 619172. To unsubscribe, or for help writing mail filters, visit settings.

                  Gerrit-Project: chromium/src
                  Gerrit-Branch: master
                  Gerrit-MessageType: comment
                  Gerrit-Change-Id: Ifd099c6b1f88aa110ae9068ce6238d8a91f9a342
                  Gerrit-Change-Number: 619172
                  Gerrit-PatchSet: 7
                  Gerrit-Owner: Xida Chen <xida...@chromium.org>
                  Gerrit-Reviewer: Chris Harrelson <chri...@chromium.org>
                  Gerrit-Reviewer: Jesse Doherty <j...@chromium.org>
                  Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
                  Gerrit-Reviewer: Xida Chen <xida...@chromium.org>
                  Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                  Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                  Gerrit-CC: Justin Novosad <ju...@chromium.org>
                  Gerrit-CC: Philip Rogers <p...@chromium.org>
                  Gerrit-CC: Rob Buis <rob....@samsung.com>
                  Gerrit-Comment-Date: Tue, 22 Aug 2017 17:26:30 +0000
                  Gerrit-HasComments: Yes
                  Gerrit-HasLabels: Yes

                  Xida Chen (Gerrit)

                  unread,
                  Aug 22, 2017, 2:06:10 PM8/22/17
                  to asvitki...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Steven Holte, Chris Harrelson, Philip Rogers, Jesse Doherty, Stephen Chenney, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis

                  +holte@: please review histogram changes. Thank you.

                  View Change

                    To view, visit change 619172. To unsubscribe, or for help writing mail filters, visit settings.

                    Gerrit-Project: chromium/src
                    Gerrit-Branch: master
                    Gerrit-MessageType: comment
                    Gerrit-Change-Id: Ifd099c6b1f88aa110ae9068ce6238d8a91f9a342
                    Gerrit-Change-Number: 619172
                    Gerrit-PatchSet: 8
                    Gerrit-Owner: Xida Chen <xida...@chromium.org>
                    Gerrit-Reviewer: Chris Harrelson <chri...@chromium.org>
                    Gerrit-Reviewer: Jesse Doherty <j...@chromium.org>
                    Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
                    Gerrit-Reviewer: Steven Holte <ho...@chromium.org>
                    Gerrit-Reviewer: Xida Chen <xida...@chromium.org>
                    Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                    Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                    Gerrit-CC: Justin Novosad <ju...@chromium.org>
                    Gerrit-CC: Philip Rogers <p...@chromium.org>
                    Gerrit-CC: Rob Buis <rob....@samsung.com>
                    Gerrit-Comment-Date: Tue, 22 Aug 2017 18:06:00 +0000
                    Gerrit-HasComments: No
                    Gerrit-HasLabels: No

                    Xida Chen (Gerrit)

                    unread,
                    Aug 22, 2017, 2:06:13 PM8/22/17
                    to Jesse Doherty, asvitki...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Steven Holte, Chris Harrelson, Philip Rogers, Stephen Chenney, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis

                    Xida Chen removed Jesse Doherty from this change.

                    View Change

                    To view, visit change 619172. To unsubscribe, or for help writing mail filters, visit settings.

                    Gerrit-Project: chromium/src
                    Gerrit-Branch: master
                    Gerrit-MessageType: deleteReviewer
                    Gerrit-Change-Id: Ifd099c6b1f88aa110ae9068ce6238d8a91f9a342
                    Gerrit-Change-Number: 619172
                    Gerrit-PatchSet: 8
                    Gerrit-Owner: Xida Chen <xida...@chromium.org>
                    Gerrit-Reviewer: Chris Harrelson <chri...@chromium.org>
                    Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
                    Gerrit-Reviewer: Steven Holte <ho...@chromium.org>
                    Gerrit-Reviewer: Xida Chen <xida...@chromium.org>
                    Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                    Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                    Gerrit-CC: Justin Novosad <ju...@chromium.org>
                    Gerrit-CC: Philip Rogers <p...@chromium.org>

                    Steven Holte (Gerrit)

                    unread,
                    Aug 22, 2017, 2:10:13 PM8/22/17
                    to Xida Chen, asvitki...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Chris Harrelson, Philip Rogers, Stephen Chenney, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis

                    Add base="true", otherwise LGTM

                    Patch set 8:Code-Review +1

                    View Change

                    1 comment:

                    To view, visit change 619172. To unsubscribe, or for help writing mail filters, visit settings.

                    Gerrit-Project: chromium/src
                    Gerrit-Branch: master
                    Gerrit-MessageType: comment
                    Gerrit-Change-Id: Ifd099c6b1f88aa110ae9068ce6238d8a91f9a342
                    Gerrit-Change-Number: 619172
                    Gerrit-PatchSet: 8
                    Gerrit-Owner: Xida Chen <xida...@chromium.org>
                    Gerrit-Reviewer: Chris Harrelson <chri...@chromium.org>
                    Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
                    Gerrit-Reviewer: Steven Holte <ho...@chromium.org>
                    Gerrit-Reviewer: Xida Chen <xida...@chromium.org>
                    Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                    Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                    Gerrit-CC: Justin Novosad <ju...@chromium.org>
                    Gerrit-CC: Philip Rogers <p...@chromium.org>
                    Gerrit-CC: Rob Buis <rob....@samsung.com>
                    Gerrit-Comment-Date: Tue, 22 Aug 2017 18:10:06 +0000
                    Gerrit-HasComments: Yes
                    Gerrit-HasLabels: Yes

                    Xida Chen (Gerrit)

                    unread,
                    Aug 22, 2017, 10:28:36 PM8/22/17
                    to asvitki...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Commit Bot, Steven Holte, Chris Harrelson, Philip Rogers, Stephen Chenney, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis

                    Patch set 11:Commit-Queue +2

                    View Change

                      To view, visit change 619172. To unsubscribe, or for help writing mail filters, visit settings.

                      Gerrit-Project: chromium/src
                      Gerrit-Branch: master
                      Gerrit-MessageType: comment
                      Gerrit-Change-Id: Ifd099c6b1f88aa110ae9068ce6238d8a91f9a342
                      Gerrit-Change-Number: 619172
                      Gerrit-PatchSet: 11
                      Gerrit-Owner: Xida Chen <xida...@chromium.org>
                      Gerrit-Reviewer: Chris Harrelson <chri...@chromium.org>
                      Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
                      Gerrit-Reviewer: Steven Holte <ho...@chromium.org>
                      Gerrit-Reviewer: Xida Chen <xida...@chromium.org>
                      Gerrit-CC: Commit Bot <commi...@chromium.org>
                      Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                      Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                      Gerrit-CC: Justin Novosad <ju...@chromium.org>
                      Gerrit-CC: Philip Rogers <p...@chromium.org>
                      Gerrit-CC: Rob Buis <rob....@samsung.com>
                      Gerrit-Comment-Date: Wed, 23 Aug 2017 02:28:32 +0000
                      Gerrit-HasComments: No
                      Gerrit-HasLabels: Yes

                      Commit Bot (Gerrit)

                      unread,
                      Aug 22, 2017, 10:28:45 PM8/22/17
                      to Xida Chen, asvitki...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Steven Holte, Chris Harrelson, Philip Rogers, Stephen Chenney, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis

                      CQ is trying da patch.

                      Note: The patchset sent to CQ was uploaded after this CL was approved.
                      "increase bucket to 5 and put basetrue back" https://chromium-review.googlesource.com/c/619172/11

                      Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/chromium-review.googlesource.com/619172/11

                      Bot data: {"action": "start", "triggered_at": "2017-08-23T02:28:32.0Z", "cq_cfg_revision": "81f1a3f0cb07446abeff7dd01ff1b8bae94ffe0d", "revision": "d074b136aba64cf9883df8a138a2dd8683945180"}

                      View Change

                        To view, visit change 619172. To unsubscribe, or for help writing mail filters, visit settings.

                        Gerrit-Project: chromium/src
                        Gerrit-Branch: master
                        Gerrit-MessageType: comment
                        Gerrit-Change-Id: Ifd099c6b1f88aa110ae9068ce6238d8a91f9a342
                        Gerrit-Change-Number: 619172
                        Gerrit-PatchSet: 11
                        Gerrit-Owner: Xida Chen <xida...@chromium.org>
                        Gerrit-Reviewer: Chris Harrelson <chri...@chromium.org>
                        Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
                        Gerrit-Reviewer: Steven Holte <ho...@chromium.org>
                        Gerrit-Reviewer: Xida Chen <xida...@chromium.org>
                        Gerrit-CC: Commit Bot <commi...@chromium.org>
                        Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                        Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                        Gerrit-CC: Justin Novosad <ju...@chromium.org>
                        Gerrit-CC: Philip Rogers <p...@chromium.org>
                        Gerrit-CC: Rob Buis <rob....@samsung.com>
                        Gerrit-Comment-Date: Wed, 23 Aug 2017 02:28:42 +0000
                        Gerrit-HasComments: No
                        Gerrit-HasLabels: No

                        Commit Bot (Gerrit)

                        unread,
                        Aug 23, 2017, 12:57:38 AM8/23/17
                        to Xida Chen, asvitki...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Steven Holte, Chris Harrelson, Philip Rogers, Stephen Chenney, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis
                        Try jobs failed on following builders:
                        linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/369107)

                        View Change

                          To view, visit change 619172. To unsubscribe, or for help writing mail filters, visit settings.

                          Gerrit-Project: chromium/src
                          Gerrit-Branch: master
                          Gerrit-MessageType: comment
                          Gerrit-Change-Id: Ifd099c6b1f88aa110ae9068ce6238d8a91f9a342
                          Gerrit-Change-Number: 619172
                          Gerrit-PatchSet: 11
                          Gerrit-Owner: Xida Chen <xida...@chromium.org>
                          Gerrit-Reviewer: Chris Harrelson <chri...@chromium.org>
                          Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
                          Gerrit-Reviewer: Steven Holte <ho...@chromium.org>
                          Gerrit-Reviewer: Xida Chen <xida...@chromium.org>
                          Gerrit-CC: Commit Bot <commi...@chromium.org>
                          Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                          Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                          Gerrit-CC: Justin Novosad <ju...@chromium.org>
                          Gerrit-CC: Philip Rogers <p...@chromium.org>
                          Gerrit-CC: Rob Buis <rob....@samsung.com>
                          Gerrit-Comment-Date: Wed, 23 Aug 2017 04:57:35 +0000
                          Gerrit-HasComments: No
                          Gerrit-HasLabels: No

                          Xida Chen (Gerrit)

                          unread,
                          Aug 23, 2017, 6:54:46 AM8/23/17
                          to asvitki...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Commit Bot, Steven Holte, Chris Harrelson, Philip Rogers, Stephen Chenney, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis

                          Patch set 11:Commit-Queue +2

                          View Change

                            To view, visit change 619172. To unsubscribe, or for help writing mail filters, visit settings.

                            Gerrit-Project: chromium/src
                            Gerrit-Branch: master
                            Gerrit-MessageType: comment
                            Gerrit-Change-Id: Ifd099c6b1f88aa110ae9068ce6238d8a91f9a342
                            Gerrit-Change-Number: 619172
                            Gerrit-PatchSet: 11
                            Gerrit-Owner: Xida Chen <xida...@chromium.org>
                            Gerrit-Reviewer: Chris Harrelson <chri...@chromium.org>
                            Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
                            Gerrit-Reviewer: Steven Holte <ho...@chromium.org>
                            Gerrit-Reviewer: Xida Chen <xida...@chromium.org>
                            Gerrit-CC: Commit Bot <commi...@chromium.org>
                            Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                            Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                            Gerrit-CC: Justin Novosad <ju...@chromium.org>
                            Gerrit-CC: Philip Rogers <p...@chromium.org>
                            Gerrit-CC: Rob Buis <rob....@samsung.com>
                            Gerrit-Comment-Date: Wed, 23 Aug 2017 10:54:42 +0000
                            Gerrit-HasComments: No
                            Gerrit-HasLabels: Yes

                            Commit Bot (Gerrit)

                            unread,
                            Aug 23, 2017, 6:54:56 AM8/23/17
                            to Xida Chen, asvitki...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Steven Holte, Chris Harrelson, Philip Rogers, Stephen Chenney, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis

                            CQ is trying da patch.

                            Note: The patchset sent to CQ was uploaded after this CL was approved.
                            "increase bucket to 5 and put basetrue back" https://chromium-review.googlesource.com/c/619172/11

                            Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/chromium-review.googlesource.com/619172/11

                            Bot data: {"action": "start", "triggered_at": "2017-08-23T10:54:42.0Z", "cq_cfg_revision": "81f1a3f0cb07446abeff7dd01ff1b8bae94ffe0d", "revision": "d074b136aba64cf9883df8a138a2dd8683945180"}

                            View Change

                              To view, visit change 619172. To unsubscribe, or for help writing mail filters, visit settings.

                              Gerrit-Project: chromium/src
                              Gerrit-Branch: master
                              Gerrit-MessageType: comment
                              Gerrit-Change-Id: Ifd099c6b1f88aa110ae9068ce6238d8a91f9a342
                              Gerrit-Change-Number: 619172
                              Gerrit-PatchSet: 11
                              Gerrit-Owner: Xida Chen <xida...@chromium.org>
                              Gerrit-Reviewer: Chris Harrelson <chri...@chromium.org>
                              Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
                              Gerrit-Reviewer: Steven Holte <ho...@chromium.org>
                              Gerrit-Reviewer: Xida Chen <xida...@chromium.org>
                              Gerrit-CC: Commit Bot <commi...@chromium.org>
                              Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                              Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                              Gerrit-CC: Justin Novosad <ju...@chromium.org>
                              Gerrit-CC: Philip Rogers <p...@chromium.org>
                              Gerrit-CC: Rob Buis <rob....@samsung.com>
                              Gerrit-Comment-Date: Wed, 23 Aug 2017 10:54:49 +0000
                              Gerrit-HasComments: No
                              Gerrit-HasLabels: No

                              Commit Bot (Gerrit)

                              unread,
                              Aug 23, 2017, 7:51:06 AM8/23/17
                              to Xida Chen, asvitki...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Steven Holte, Chris Harrelson, Philip Rogers, Stephen Chenney, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis

                              Commit Bot merged this change.

                              View Change

                              Approvals: Chris Harrelson: Looks good to me Steven Holte: Looks good to me Xida Chen: Commit
                              Add UMA for number of layer promotions

                              In this CL, we add histogram to check number of layers that gets promoted
                              due to the following reasons:
                              1. Overlap
                              2. Transform / opacity animation
                              3. Assumed overlap
                              4. Indirectly composited

                              We aggregate the number of layers over all frames.

                              Bug: 754786
                              Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
                              Change-Id: Ifd099c6b1f88aa110ae9068ce6238d8a91f9a342
                              Reviewed-on: https://chromium-review.googlesource.com/619172
                              Commit-Queue: Xida Chen <xida...@chromium.org>
                              Reviewed-by: Steven Holte <ho...@chromium.org>
                              Reviewed-by: Chris Harrelson <chri...@chromium.org>
                              Cr-Commit-Position: refs/heads/master@{#496660}

                              ---
                              M third_party/WebKit/Source/core/paint/compositing/CompositingRequirementsUpdater.cpp
                              M third_party/WebKit/Source/core/paint/compositing/CompositingRequirementsUpdater.h
                              M third_party/WebKit/Source/core/paint/compositing/PaintLayerCompositor.cpp
                              M third_party/WebKit/Source/core/paint/compositing/PaintLayerCompositor.h
                              M third_party/WebKit/Source/platform/graphics/CompositingReasons.h
                              M tools/metrics/histograms/histograms.xml
                              6 files changed, 81 insertions(+), 18 deletions(-)


                              To view, visit change 619172. To unsubscribe, or for help writing mail filters, visit settings.

                              Gerrit-Project: chromium/src
                              Gerrit-Branch: master
                              Gerrit-MessageType: merged
                              Gerrit-Change-Id: Ifd099c6b1f88aa110ae9068ce6238d8a91f9a342
                              Gerrit-Change-Number: 619172
                              Gerrit-PatchSet: 12
                              Gerrit-Owner: Xida Chen <xida...@chromium.org>
                              Gerrit-Reviewer: Chris Harrelson <chri...@chromium.org>
                              Gerrit-Reviewer: Commit Bot <commi...@chromium.org>
                              Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
                              Gerrit-Reviewer: Steven Holte <ho...@chromium.org>
                              Gerrit-Reviewer: Xida Chen <xida...@chromium.org>
                              Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                              Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                              Gerrit-CC: Justin Novosad <ju...@chromium.org>
                              Gerrit-CC: Philip Rogers <p...@chromium.org>
                              Reply all
                              Reply to author
                              Forward
                              0 new messages