Changeset 147214 in webkit


Ignore:
Timestamp:
Mar 29, 2013 7:14:23 AM (11 years ago)
Author:
abucur@adobe.com
Message:

[CSS Regions] Add performance tests
https://bugs.webkit.org/show_bug.cgi?id=113303

Reviewed by Antti Koivisto.

Add simple performance tests for regions, without nested named flows: a region chain and a flow article.
The regions.js script is used to generate the tests and can set the following parameters: the number of regions,
the number of paragraphs, the regions width, height, max-height and the propability of a forced break after a paragraph.

The tests are skipped for now. They should be enabled once the regions performance is stable enough to create a baseline.

  • Layout/RegionsAuto.html: Added. A few regions with a short article. The regions have auto-height and some

paragraphs (80%) have forced breaks after. Stress test for the auto-height algorithm.

  • Layout/RegionsAutoMaxHeight.html: Added. A lot of regions with auto-height and max-height. Tests the impact of

max-height on the auto-height algorithm.

  • Layout/RegionsFixed.html: Added. A lot of regions with a long article. Some paragraphs (50%) have forced breaks after.

Stress test for the regions layout algorithm.

  • Layout/RegionsFixedShort.html: Added. A lot of short regions with a long content. Tests the impact of unforced breaks

on the layout speed.

  • Layout/resources/regions.css: Added.

(.articleInFlow):
(.articleNone):
(.region):
(.contentParagraph):
(.breakAfter):
(.regionContainer):

  • Layout/resources/regions.js: Added.

(.):

  • Skipped:
Location:
trunk/PerformanceTests
Files:
6 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/PerformanceTests/ChangeLog

    r146997 r147214  
     12013-03-29  Andrei Bucur  <abucur@adobe.com>
     2
     3        [CSS Regions] Add performance tests
     4        https://bugs.webkit.org/show_bug.cgi?id=113303
     5
     6        Reviewed by Antti Koivisto.
     7
     8        Add simple performance tests for regions, without nested named flows: a region chain and a flow article.
     9        The regions.js script is used to generate the tests and can set the following parameters: the number of regions,
     10        the number of paragraphs, the regions width, height, max-height and the propability of a forced break after a paragraph.
     11
     12        The tests are skipped for now. They should be enabled once the regions performance is stable enough to create a baseline.
     13
     14        * Layout/RegionsAuto.html: Added. A few regions with a short article. The regions have auto-height and some
     15        paragraphs (80%) have forced breaks after. Stress test for the auto-height algorithm.
     16        * Layout/RegionsAutoMaxHeight.html: Added. A lot of regions with auto-height and max-height. Tests the impact of
     17        max-height on the auto-height algorithm.
     18        * Layout/RegionsFixed.html: Added. A lot of regions with a long article. Some paragraphs (50%) have forced breaks after.
     19        Stress test for the regions layout algorithm.
     20        * Layout/RegionsFixedShort.html: Added. A lot of short regions with a long content. Tests the impact of unforced breaks
     21        on the layout speed.
     22        * Layout/resources/regions.css: Added.
     23        (.articleInFlow):
     24        (.articleNone):
     25        (.region):
     26        (.contentParagraph):
     27        (.breakAfter):
     28        (.regionContainer):
     29        * Layout/resources/regions.js: Added.
     30        (.):
     31        * Skipped:
     32
    1332013-03-26  Ryosuke Niwa  <rniwa@webkit.org>
    234
  • trunk/PerformanceTests/Skipped

    r146997 r147214  
    7777# but is still useful for testing the threaded parser.
    7878Parser/html-parser-threaded.html
     79
     80# Skip the regions performance tests for now.
     81Layout/RegionsAuto.html
     82Layout/RegionsAutoMaxHeight.html
     83Layout/RegionsFixed.html
     84Layout/RegionsFixedShort.html
Note: See TracChangeset for help on using the changeset viewer.