Changeset 144785 in webkit


Ignore:
Timestamp:
Mar 5, 2013 11:07:26 AM (11 years ago)
Author:
eric@webkit.org
Message:

Add html-parser-threaded perf test now that the threaded parser is enabled by default
https://bugs.webkit.org/show_bug.cgi?id=111200

Reviewed by Ryosuke Niwa.

PerformanceTests:

The old srcdoc test no longer triggers the threaded parser due to compatibility fixes.

  • Parser/html-parser-threaded.html: Renamed from PerformanceTests/Parser/html-parser-srcdoc.html.
  • Skipped: Unfortunately this new test is still skipped too.

Tools:

Had to teach run-perf-tests to ignore one more warning.

  • Scripts/webkitpy/performance_tests/perftest.py:

(PerfTest):

Location:
trunk
Files:
4 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/PerformanceTests/ChangeLog

    r144704 r144785  
     12013-03-05  Eric Seidel  <eric@webkit.org>
     2
     3        Add html-parser-threaded perf test now that the threaded parser is enabled by default
     4        https://bugs.webkit.org/show_bug.cgi?id=111200
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        The old srcdoc test no longer triggers the threaded parser due to compatibility fixes.
     9
     10        * Parser/html-parser-threaded.html: Renamed from PerformanceTests/Parser/html-parser-srcdoc.html.
     11        * Skipped: Unfortunately this new test is still skipped too.
     12
    1132013-03-04  Eric Seidel  <eric@webkit.org>
    214
  • trunk/PerformanceTests/Parser/html-parser-threaded.html

    r144783 r144785  
    77    window.internals.settings.setThreadedHTMLParser(true);
    88
    9 var spec = PerfTestRunner.loadFile("resources/html5.html");
     9var specURL = "resources/html5.html";
    1010
    1111var iframe = document.createElement("iframe");
     
    2020    PerfTestRunner.measureValueAsync(now - then);
    2121    then = now;
    22     iframe.srcdoc = spec;
     22    iframe.src = specURL;
    2323}
    2424var then = PerfTestRunner.now();
    25 iframe.srcdoc = spec;
     25iframe.src = specURL;
    2626
    2727function onCompletedRun() {
  • trunk/PerformanceTests/Skipped

    r141906 r144785  
    7272Canvas/drawimage.html
    7373
    74 # Works fine, but is mostly useful to the threaded-parsing folks, as
    75 # it's very similar to parser/html-parser.html just using
    76 # srcdoc to load instead of document.write.
    77 Parser/html-parser-srcdoc.html
     74# Has a time-dependency (monotonically increasing), and is much slower than
     75# necessary due to https://bugs.webkit.org/show_bug.cgi?id=107236
     76# but is still useful for testing the threaded parser.
     77Parser/html-parser-threaded.html
  • trunk/Tools/ChangeLog

    r144783 r144785  
     12013-03-05  Eric Seidel  <eric@webkit.org>
     2
     3        Add html-parser-threaded perf test now that the threaded parser is enabled by default
     4        https://bugs.webkit.org/show_bug.cgi?id=111200
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        Had to teach run-perf-tests to ignore one more warning.
     9
     10        * Scripts/webkitpy/performance_tests/perftest.py:
     11        (PerfTest):
     12
    1132013-03-05  Jochen Eisinger  <jochen@chromium.org>
    214
  • trunk/Tools/Scripts/webkitpy/performance_tests/perftest.py

    r144583 r144785  
    247247        re.compile(re.escape("""Blocked access to external URL http://www.whatwg.org/specs/web-apps/current-work/""")),
    248248        re.compile(r"CONSOLE MESSAGE: (line \d+: )?Blocked script execution in '[A-Za-z0-9\-\.:]+' because the document's frame is sandboxed and the 'allow-scripts' permission is not set."),
     249        re.compile(r"CONSOLE MESSAGE: (line \d+: )?Not allowed to load local resource"),
    249250        # Dromaeo reports values for subtests. Ignore them for now.
    250251        re.compile(r'(?P<name>.+): \[(?P<values>(\d+(.\d+)?,\s+)*\d+(.\d+)?)\]'),
Note: See TracChangeset for help on using the changeset viewer.