Changeset 128828 in webkit


Ignore:
Timestamp:
Sep 17, 2012 5:35:35 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[chromium] Add rendering commit statistics
https://bugs.webkit.org/show_bug.cgi?id=96938

Patch by Brian Anderson <brianderson@chromium.org> on 2012-09-17
Reviewed by James Robinson.

Adds total commit time and total commit count to WebRenderingStats.
Allows us to caculate average commit time in performance tests.

Source/Platform:

  • chromium/public/WebRenderingStats.h:

(WebRenderingStats):
(WebKit::WebRenderingStats::WebRenderingStats):
(WebKit::WebRenderingStats::enumerateFields):

Source/WebKit/chromium:

  • src/WebLayerTreeViewImpl.cpp:

(WebKit::WebLayerTreeViewImpl::renderingStats):

Location:
trunk/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/Platform/ChangeLog

    r128806 r128828  
     12012-09-17  Brian Anderson  <brianderson@chromium.org>
     2
     3        [chromium] Add rendering commit statistics
     4        https://bugs.webkit.org/show_bug.cgi?id=96938
     5
     6        Reviewed by James Robinson.
     7
     8        Adds total commit time and total commit count to WebRenderingStats.
     9        Allows us to caculate average commit time in performance tests.
     10
     11        * chromium/public/WebRenderingStats.h:
     12        (WebRenderingStats):
     13        (WebKit::WebRenderingStats::WebRenderingStats):
     14        (WebKit::WebRenderingStats::enumerateFields):
     15
    1162012-09-17  Antoine Labour  <piman@chromium.org>
    217
  • trunk/Source/Platform/chromium/public/WebRenderingStats.h

    r127846 r128828  
    3535    double totalPaintTimeInSeconds;
    3636    double totalRasterizeTimeInSeconds;
     37    double totalCommitTimeInSeconds;
     38    size_t totalCommitCount;
    3739
    3840    WebRenderingStats()
     
    4244        , totalPaintTimeInSeconds(0)
    4345        , totalRasterizeTimeInSeconds(0)
     46        , totalCommitTimeInSeconds(0)
     47        , totalCommitCount(0)
    4448    {
    4549    }
     
    6569        enumerator->addDouble("totalPaintTimeInSeconds", totalPaintTimeInSeconds);
    6670        enumerator->addDouble("totalRasterizeTimeInSeconds", totalRasterizeTimeInSeconds);
     71        enumerator->addDouble("totalCommitTimeInSeconds", totalCommitTimeInSeconds);
     72        enumerator->addInt("totalCommitCount", totalCommitCount);
    6773    }
    6874};
  • trunk/Source/WebKit/chromium/ChangeLog

    r128823 r128828  
     12012-09-17  Brian Anderson  <brianderson@chromium.org>
     2
     3        [chromium] Add rendering commit statistics
     4        https://bugs.webkit.org/show_bug.cgi?id=96938
     5
     6        Reviewed by James Robinson.
     7
     8        Adds total commit time and total commit count to WebRenderingStats.
     9        Allows us to caculate average commit time in performance tests.
     10
     11        * src/WebLayerTreeViewImpl.cpp:
     12        (WebKit::WebLayerTreeViewImpl::renderingStats):
     13
    1142012-09-17  James Robinson  <jamesr@chromium.org>
    215
  • trunk/Source/WebKit/chromium/src/WebLayerTreeViewImpl.cpp

    r127948 r128828  
    196196    stats.totalPaintTimeInSeconds = ccStats.totalPaintTimeInSeconds;
    197197    stats.totalRasterizeTimeInSeconds = ccStats.totalRasterizeTimeInSeconds;
     198    stats.totalCommitTimeInSeconds = ccStats.totalCommitTimeInSeconds;
     199    stats.totalCommitCount = ccStats.totalCommitCount;
    198200}
    199201
Note: See TracChangeset for help on using the changeset viewer.